#231F85#231F85
#231F85 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.162 H 274.4°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #231F85 |
|---|---|
| RGB | rgb(35, 31, 133) |
| HSL | hsl(242, 62%, 32%) |
| HSV | hsv(242, 77%, 52%) |
| CMYK | cmyk(73.7%, 76.7%, 0%, 47.8%) |
| CIE-LAB | lab(20.16, 36.52, -55.86) |
| CIE-LCH | lch(20.16, 66.74, 303.17°) |
| OKLab | oklab(32.74% 0.0126 -0.1616) |
| OKLCH | oklch(32.74% 0.162 274.4) |
| XYZ | xyz(5.4154, 3.0302, 22.4853) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.98
Midnight Blue
#191970
ΔE00 3.53
Darkblue
#00008B
ΔE00 5.64
Indigo (survey)
#380282
ΔE00 5.77
Cobalt Blue
#030AA7
ΔE00 5.82
Navy
#000080
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231F85 #81851F
analogous
#1F4E85 #231F85 #561F85
triadic
#231F85 #85231F #1F8523
tetradic
#231F85 #851F4E #81851F #1F8556
square
#231F85 #851F4E #81851F #1F8556
split-complementary
#231F85 #85561F #4E851F
monochromatic
#090822 #161353 #231F85 #302BB7 #4F4AD5
Accessibility & contrast
On white
13.07
#231F85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#231F85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231F85
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231F85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231F85 | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #231f85; /* rgb */ color: rgb(35, 31, 133); /* oklch */ color: oklch(32.7% 0.162 274.4);
Tailwind
colors: {
custom: {
50: '#6e5caa',
500: '#231f85',
950: '#000000',
},
}SCSS
$custom: #231f85; $custom-light: #6e5caa; $custom-dark: #000000;
JSON
{
"hex": "#231f85",
"rgb": {
"r": 35,
"g": 31,
"b": 133
},
"hsl": {
"h": 242.353,
"s": 62.195,
"l": 32.157
},
"oklch": {
"l": 0.32744,
"c": 0.16205,
"h": 274.4
},
"luminance": 0.03031
}Semantic roles & 50–950 ramp
primary
#231F85
secondary
#B3B749
accent
#E543DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F