Recognised as Colour
#04256E
- #04256E
- Blue
- Dark
- Nearest: Midnight blue
#04256E is a blue with RGB values 4, 37, 110 and HSL 221°, 93%, 22%. It is a dark colour, so white text on it reaches 14:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#04256E#04256E
HEX#04256E
RGBrgb(4, 37, 110)
RGB (0–1)0.0157, 0.1451, 0.4314
RGB percentages1.6%, 14.5%, 43.1%
HSLhsl(221.3, 93%, 22.4%)
HSV / HSBhsv(221.3, 96.4%, 43.1%)
CMYK96.4%, 66.4%, 0%, 56.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer271,726
CSS custom property--colour: #04256E;
Brightness & contrast
Relative luminance0.02475WCAG 2.x, 0 is black and 1 is white
Perceived brightness46.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.05:1
Contrast with white14.05:1WCAG normal text: AAA
Contrast with black1.49:1WCAG normal text: Fail
Greyscale equivalent#232323
Inverted#FBDA91
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.05:1WCAG large text: AAA
Contrast with black, large text1.49:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#6E4D04
Analogous#045A6E, #18046E
Triadic#6E0425, #256E04
Split complementary#6E1804, #5A6E04
Tetradic#6E045A, #6E4D04, #046E18
Tints, shades & saturation
Channel breakdown
R4
G37
B110
Red4 (1.6%)
Green37 (14.5%)
Blue110 (43.1%)
Hue221.32°
Saturation (HSL)92.98%
Lightness22.35%
Dominant channelBlue
Hex per channelR 04 · G 25 · B 6E
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