Recognised as Colour
#20287B
- #20287B
- Blue
- Dark
- Nearest: Midnight blue
#20287B is a blue with RGB values 32, 40, 123 and HSL 235°, 59%, 30%. It is a dark colour, so white text on it reaches 12.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#20287B#20287B
HEX#20287B
RGBrgb(32, 40, 123)
RGB (0–1)0.1255, 0.1569, 0.4824
RGB percentages12.5%, 15.7%, 48.2%
HSLhsl(234.7, 58.7%, 30.4%)
HSV / HSBhsv(234.7, 74%, 48.2%)
CMYK74%, 67.5%, 0%, 51.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,107,515
CSS custom property--colour: #20287B;
Brightness & contrast
Relative luminance0.03255WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.72:1
Contrast with white12.72:1WCAG normal text: AAA
Contrast with black1.65:1WCAG normal text: Fail
Greyscale equivalent#2C2C2C
Inverted#DFD784
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.72:1WCAG large text: AAA
Contrast with black, large text1.65:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7B7320
Analogous#20557B, #46207B
Triadic#7B2028, #287B20
Split complementary#7B4620, #557B20
Tetradic#7B2055, #7B7320, #207B46
Tints, shades & saturation
Channel breakdown
R32
G40
B123
Red32 (12.5%)
Green40 (15.7%)
Blue123 (48.2%)
Hue234.73°
Saturation (HSL)58.71%
Lightness30.39%
Dominant channelBlue
Hex per channelR 20 · G 28 · B 7B
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page