#231C8E#231C8E
#231C8E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.176 H 273.9°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).
Color values
| HEX | #231C8E |
|---|---|
| RGB | rgb(35, 28, 142) |
| HSL | hsl(244, 67%, 33%) |
| HSV | hsv(244, 80%, 56%) |
| CMYK | cmyk(75.4%, 80.3%, 0%, 44.3%) |
| CIE-LAB | lab(20.60, 41.22, -60.78) |
| CIE-LCH | lch(20.60, 73.44, 304.14°) |
| OKLab | oklab(33.35% 0.0119 -0.1758) |
| OKLCH | oklch(33.35% 0.176 273.9) |
| XYZ | xyz(5.9893, 3.1402, 25.8764) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.80
Cobalt Blue
#030AA7
ΔE00 4.29
Midnight Blue
#191970
ΔE00 4.77
Darkblue
#00008B
ΔE00 4.81
Royal Blue (survey)
#0504AA
ΔE00 4.84
Indigo (survey)
#380282
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231C8E #878E1C
analogous
#1C4E8E #231C8E #5C1C8E
triadic
#231C8E #8E231C #1C8E23
tetradic
#231C8E #8E1C4E #878E1C #1C8E5C
square
#231C8E #8E1C4E #878E1C #1C8E5C
split-complementary
#231C8E #8E5C1C #4E8E1C
monochromatic
#0A0828 #16125B #231C8E #3026C1 #5249DB
Accessibility & contrast
On white
12.90
#231C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#231C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231C8E
12.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231C8E | 1.00 | 12.90 | 1.63 | 12.90 |
| #FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #231c8e; /* rgb */ color: rgb(35, 28, 142); /* oklch */ color: oklch(33.3% 0.176 273.9);
Tailwind
colors: {
custom: {
50: '#715bb0',
500: '#231c8e',
950: '#000000',
},
}SCSS
$custom: #231c8e; $custom-light: #715bb0; $custom-dark: #000000;
JSON
{
"hex": "#231c8e",
"rgb": {
"r": 35,
"g": 28,
"b": 142
},
"hsl": {
"h": 243.684,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.33349,
"c": 0.17624,
"h": 273.9
},
"luminance": 0.03141
}Semantic roles & 50–950 ramp
primary
#231C8E
secondary
#B6BD49
accent
#EA3EDF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980