#231C85#231C85
#231C85 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.165 H 274.9°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #231C85 |
|---|---|
| RGB | rgb(35, 28, 133) |
| HSL | hsl(244, 65%, 32%) |
| HSV | hsv(244, 79%, 52%) |
| CMYK | cmyk(73.7%, 78.9%, 0%, 47.8%) |
| CIE-LAB | lab(19.56, 38.23, -56.86) |
| CIE-LCH | lch(19.56, 68.52, 303.92°) |
| OKLab | oklab(32.32% 0.0141 -0.1644) |
| OKLCH | oklch(32.32% 0.165 274.9) |
| XYZ | xyz(5.3406, 2.8808, 22.4603) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.62
Midnight Blue
#191970
ΔE00 3.47
Darkblue
#00008B
ΔE00 4.96
Indigo (survey)
#380282
ΔE00 5.11
Navy
#000080
ΔE00 5.26
Cobalt Blue
#030AA7
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231C85 #7E851C
analogous
#1C4A85 #231C85 #581C85
triadic
#231C85 #85231C #1C8523
tetradic
#231C85 #851C4A #7E851C #1C8558
square
#231C85 #851C4A #7E851C #1C8558
split-complementary
#231C85 #85581C #4A851C
monochromatic
#080720 #161152 #231C85 #3027B8 #4E44D8
Accessibility & contrast
On white
13.32
#231C85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#231C85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231C85
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231C85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231C85 | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #231c85; /* rgb */ color: rgb(35, 28, 133); /* oklch */ color: oklch(32.3% 0.165 274.9);
Tailwind
colors: {
custom: {
50: '#6f5aaa',
500: '#231c85',
950: '#000000',
},
}SCSS
$custom: #231c85; $custom-light: #6f5aaa; $custom-dark: #000000;
JSON
{
"hex": "#231c85",
"rgb": {
"r": 35,
"g": 28,
"b": 133
},
"hsl": {
"h": 244,
"s": 65.217,
"l": 31.569
},
"oklch": {
"l": 0.32317,
"c": 0.16504,
"h": 274.9
},
"luminance": 0.02881
}Semantic roles & 50–950 ramp
primary
#231C85
secondary
#B0B845
accent
#E840DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F