Recognised as Colour
#00228C
- #00228C
- Blue
- Dark
- Nearest: Midnight blue
#00228C is a blue with RGB values 0, 34, 140 and HSL 225°, 100%, 27%. It is a dark colour, so white text on it reaches 13.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#00228C#00228C
HEX#00228C
RGBrgb(0, 34, 140)
RGB (0–1)0, 0.1333, 0.549
RGB percentages0%, 13.3%, 54.9%
HSLhsl(225.4, 100%, 27.5%)
HSV / HSBhsv(225.4, 100%, 54.9%)
CMYK100%, 75.7%, 0%, 45.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,844
CSS custom property--colour: #00228C;
Brightness & contrast
Relative luminance0.03038WCAG 2.x, 0 is black and 1 is white
Perceived brightness54 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.06:1
Contrast with white13.06:1WCAG normal text: AAA
Contrast with black1.61:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#FFDD73
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.06:1WCAG large text: AAA
Contrast with black, large text1.61:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8C6A00
Analogous#00688C, #24008C
Triadic#8C0022, #228C00
Split complementary#8C2400, #688C00
Tetradic#8C0068, #8C6A00, #008C24
Tints, shades & saturation
Channel breakdown
R0
G34
B140
Red0 (0%)
Green34 (13.3%)
Blue140 (54.9%)
Hue225.43°
Saturation (HSL)100%
Lightness27.45%
Dominant channelBlue
Hex per channelR 00 · G 22 · B 8C
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page