#231785#231785
#231785 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.170 H 275.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).
Color values
| HEX | #231785 |
|---|---|
| RGB | rgb(35, 23, 133) |
| HSL | hsl(247, 71%, 31%) |
| HSV | hsv(247, 83%, 52%) |
| CMYK | cmyk(73.7%, 82.7%, 0%, 47.8%) |
| CIE-LAB | lab(18.64, 40.89, -58.38) |
| CIE-LCH | lch(18.64, 71.28, 305.00°) |
| OKLab | oklab(31.67% 0.0163 -0.1688) |
| OKLCH | oklch(31.67% 0.17 275.5) |
| XYZ | xyz(5.2318, 2.6631, 22.4241) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.43
Midnight Blue
#191970
ΔE00 3.69
Darkblue
#00008B
ΔE00 3.98
Indigo (survey)
#380282
ΔE00 4.18
Navy
#000080
ΔE00 4.28
Deep Blue
#040273
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231785 #798517
analogous
#174285 #231785 #5A1785
triadic
#231785 #852317 #178523
tetradic
#231785 #851742 #798517 #17855A
square
#231785 #851742 #798517 #17855A
split-complementary
#231785 #855A17 #428517
monochromatic
#08051D #150E51 #231785 #3120B9 #4B3ADD
Accessibility & contrast
On white
13.70
#231785 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#231785 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231785
13.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231785 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231785 | 1.00 | 13.70 | 1.53 | 13.70 |
| #FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002883
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #231785; /* rgb */ color: rgb(35, 23, 133); /* oklch */ color: oklch(31.7% 0.170 275.5);
Tailwind
colors: {
custom: {
50: '#6f58aa',
500: '#231785',
950: '#000000',
},
}SCSS
$custom: #231785; $custom-light: #6f58aa; $custom-dark: #000000;
JSON
{
"hex": "#231785",
"rgb": {
"r": 35,
"g": 23,
"b": 133
},
"hsl": {
"h": 246.545,
"s": 70.513,
"l": 30.588
},
"oklch": {
"l": 0.31675,
"c": 0.16958,
"h": 275.5
},
"luminance": 0.02664
}Semantic roles & 50–950 ramp
primary
#231785
secondary
#ACB93F
accent
#ED3BDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F