Recognised as Colour
#2238A0
- #2238A0
- Blue
- Dark
- Nearest: Midnight blue
#2238A0 is a blue with RGB values 34, 56, 160 and HSL 230°, 65%, 38%. It is a dark colour, so white text on it reaches 9.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2238A0#2238A0
HEX#2238A0
RGBrgb(34, 56, 160)
RGB (0–1)0.1333, 0.2196, 0.6275
RGB percentages13.3%, 22%, 62.7%
HSLhsl(229.5, 64.9%, 38%)
HSV / HSBhsv(229.5, 78.8%, 62.7%)
CMYK78.8%, 65%, 0%, 37.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,242,720
CSS custom property--colour: #2238A0;
Brightness & contrast
Relative luminance0.05706WCAG 2.x, 0 is black and 1 is white
Perceived brightness71.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.81:1
Contrast with white9.81:1WCAG normal text: AAA
Contrast with black2.14:1WCAG normal text: Fail
Greyscale equivalent#3B3B3B
Inverted#DDC75F
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.81:1WCAG large text: AAA
Contrast with black, large text2.14:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#A08A22
Analogous#2277A0, #4B22A0
Triadic#A02238, #38A022
Split complementary#A04B22, #77A022
Tetradic#A02277, #A08A22, #22A04B
Tints, shades & saturation
Channel breakdown
R34
G56
B160
Red34 (13.3%)
Green56 (22%)
Blue160 (62.7%)
Hue229.52°
Saturation (HSL)64.95%
Lightness38.04%
Dominant channelBlue
Hex per channelR 22 · G 38 · B A0
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