Recognised as Colour
#3A238B
- #3A238B
- Blue
- Dark
- Nearest: Midnight blue
#3A238B is a blue with RGB values 58, 35, 139 and HSL 253°, 60%, 34%. It is a dark colour, so white text on it reaches 11.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#3A238B#3A238B
HEX#3A238B
RGBrgb(58, 35, 139)
RGB (0–1)0.2275, 0.1373, 0.5451
RGB percentages22.7%, 13.7%, 54.5%
HSLhsl(253.3, 59.8%, 34.1%)
HSV / HSBhsv(253.3, 74.8%, 54.5%)
CMYK58.3%, 74.8%, 0%, 45.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,810,187
CSS custom property--colour: #3A238B;
Brightness & contrast
Relative luminance0.03966WCAG 2.x, 0 is black and 1 is white
Perceived brightness62.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.71:1
Contrast with white11.71:1WCAG normal text: AAA
Contrast with black1.79:1WCAG normal text: Fail
Greyscale equivalent#2F2F2F
Inverted#C5DC74
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.71:1WCAG large text: AAA
Contrast with black, large text1.79:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#748B23
Analogous#23408B, #6E238B
Triadic#8B3A23, #238B3A
Split complementary#8B6E23, #408B23
Tetradic#8B2340, #748B23, #238B6E
Tints, shades & saturation
Channel breakdown
R58
G35
B139
Red58 (22.7%)
Green35 (13.7%)
Blue139 (54.5%)
Hue253.27°
Saturation (HSL)59.77%
Lightness34.12%
Dominant channelBlue
Hex per channelR 3A · G 23 · B 8B
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