Recognised as Colour
#331F98
- #331F98
- Blue
- Dark
- Nearest: Navy
#331F98 is a blue with RGB values 51, 31, 152 and HSL 250°, 66%, 36%. It is a dark colour, so white text on it reaches 11.7:1 contrast (AAA for normal text). The nearest named colour is Navy.
Colour values
#331F98#331F98
HEX#331F98
RGBrgb(51, 31, 152)
RGB (0–1)0.2, 0.1216, 0.5961
RGB percentages20%, 12.2%, 59.6%
HSLhsl(249.9, 66.1%, 35.9%)
HSV / HSBhsv(249.9, 79.6%, 59.6%)
CMYK66.4%, 79.6%, 0%, 40.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,350,424
CSS custom property--colour: #331F98;
Brightness & contrast
Relative luminance0.03951WCAG 2.x, 0 is black and 1 is white
Perceived brightness63.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.73:1
Contrast with white11.73:1WCAG normal text: AAA
Contrast with black1.79:1WCAG normal text: Fail
Greyscale equivalent#2C2C2C
Inverted#CCE067
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.73: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#84981F
Analogous#1F4798, #701F98
Triadic#98331F, #1F9833
Split complementary#98701F, #47981F
Tetradic#981F47, #84981F, #1F9870
Tints, shades & saturation
Channel breakdown
R51
G31
B152
Red51 (20%)
Green31 (12.2%)
Blue152 (59.6%)
Hue249.92°
Saturation (HSL)66.12%
Lightness35.88%
Dominant channelBlue
Hex per channelR 33 · G 1F · B 98
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