Recognised as Colour
#12287D
- #12287D
- Blue
- Dark
- Nearest: Midnight blue
#12287D is a blue with RGB values 18, 40, 125 and HSL 228°, 75%, 28%. It is a dark colour, so white text on it reaches 12.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#12287D#12287D
HEX#12287D
RGBrgb(18, 40, 125)
RGB (0–1)0.0706, 0.1569, 0.4902
RGB percentages7.1%, 15.7%, 49%
HSLhsl(227.7, 74.8%, 28%)
HSV / HSBhsv(227.7, 85.6%, 49%)
CMYK85.6%, 68%, 0%, 51%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,190,013
CSS custom property--colour: #12287D;
Brightness & contrast
Relative luminance0.03127WCAG 2.x, 0 is black and 1 is white
Perceived brightness53.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.92:1
Contrast with white12.92:1WCAG normal text: AAA
Contrast with black1.63:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#EDD782
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.92:1WCAG large text: AAA
Contrast with black, large text1.63:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7D6712
Analogous#125D7D, #32127D
Triadic#7D1228, #287D12
Split complementary#7D3212, #5D7D12
Tetradic#7D125D, #7D6712, #127D32
Tints, shades & saturation
Channel breakdown
R18
G40
B125
Red18 (7.1%)
Green40 (15.7%)
Blue125 (49%)
Hue227.66°
Saturation (HSL)74.83%
Lightness28.04%
Dominant channelBlue
Hex per channelR 12 · G 28 · B 7D
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