Recognised as Colour
#21286C
- #21286C
- Blue
- Dark
- Nearest: Dark slateblue
#21286C is a blue with RGB values 33, 40, 108 and HSL 234°, 53%, 28%. It is a dark colour, so white text on it reaches 13.3:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#21286C#21286C
HEX#21286C
RGBrgb(33, 40, 108)
RGB (0–1)0.1294, 0.1569, 0.4235
RGB percentages12.9%, 15.7%, 42.4%
HSLhsl(234.4, 53.2%, 27.6%)
HSV / HSBhsv(234.4, 69.4%, 42.4%)
CMYK69.4%, 63%, 0%, 57.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,173,036
CSS custom property--colour: #21286C;
Brightness & contrast
Relative luminance0.02924WCAG 2.x, 0 is black and 1 is white
Perceived brightness50.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.25:1
Contrast with white13.25:1WCAG normal text: AAA
Contrast with black1.58:1WCAG normal text: Fail
Greyscale equivalent#2B2B2B
Inverted#DED793
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.25:1WCAG large text: AAA
Contrast with black, large text1.58:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#6C6521
Analogous#214E6C, #3F216C
Triadic#6C2128, #286C21
Split complementary#6C3F21, #4E6C21
Tetradic#6C214E, #6C6521, #216C3F
Tints, shades & saturation
Channel breakdown
R33
G40
B108
Red33 (12.9%)
Green40 (15.7%)
Blue108 (42.4%)
Hue234.4°
Saturation (HSL)53.19%
Lightness27.65%
Dominant channelBlue
Hex per channelR 21 · G 28 · B 6C
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