#231F80#231F80
#231F80 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.156 H 275.0°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #231F80 |
|---|---|
| RGB | rgb(35, 31, 128) |
| HSL | hsl(242, 61%, 31%) |
| HSV | hsv(242, 76%, 50%) |
| CMYK | cmyk(72.7%, 75.8%, 0%, 49.8%) |
| CIE-LAB | lab(19.62, 34.78, -53.60) |
| CIE-LCH | lch(19.62, 63.90, 302.98°) |
| OKLab | oklab(32.2% 0.0136 -0.155) |
| OKLCH | oklch(32.2% 0.156 275) |
| XYZ | xyz(5.0781, 2.8953, 20.7091) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.85
Royal
#0C1793
ΔE00 3.60
Dark Royal Blue
#02066F
ΔE00 5.86
Indigo (survey)
#380282
ΔE00 5.91
Darkblue
#00008B
ΔE00 5.92
Navy
#000080
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231F80 #7C801F
analogous
#1F4B80 #231F80 #531F80
triadic
#231F80 #80231F #1F8023
tetradic
#231F80 #801F4B #7C801F #1F8053
square
#231F80 #801F4B #7C801F #1F8053
split-complementary
#231F80 #80531F #4B801F
monochromatic
#08071D #16134F #231F80 #302BB1 #4D47D2
Accessibility & contrast
On white
13.30
#231F80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#231F80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231F80
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231F80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231F80 | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #231f80; /* rgb */ color: rgb(35, 31, 128); /* oklch */ color: oklch(32.2% 0.156 275.0);
Tailwind
colors: {
custom: {
50: '#6d5ca6',
500: '#231f80',
950: '#000000',
},
}SCSS
$custom: #231f80; $custom-light: #6d5ca6; $custom-dark: #000000;
JSON
{
"hex": "#231f80",
"rgb": {
"r": 35,
"g": 31,
"b": 128
},
"hsl": {
"h": 242.474,
"s": 61.006,
"l": 31.176
},
"oklch": {
"l": 0.32195,
"c": 0.15557,
"h": 275
},
"luminance": 0.02896
}Semantic roles & 50–950 ramp
primary
#231F80
secondary
#AFB348
accent
#E444DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F