#231C8F#231C8F
#231C8F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.177 H 273.8°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #231C8F |
|---|---|
| RGB | rgb(35, 28, 143) |
| HSL | hsl(244, 67%, 34%) |
| HSV | hsv(244, 80%, 56%) |
| CMYK | cmyk(75.5%, 80.4%, 0%, 43.9%) |
| CIE-LAB | lab(20.71, 41.55, -61.21) |
| CIE-LCH | lch(20.71, 73.98, 304.17°) |
| OKLab | oklab(33.47% 0.0117 -0.1771) |
| OKLCH | oklch(33.47% 0.177 273.8) |
| XYZ | xyz(6.0647, 3.1704, 26.2736) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.75
Cobalt Blue
#030AA7
ΔE00 4.18
Royal Blue (survey)
#0504AA
ΔE00 4.73
Darkblue
#00008B
ΔE00 4.82
Midnight Blue
#191970
ΔE00 4.91
Indigo (survey)
#380282
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231C8F #888F1C
analogous
#1C4E8F #231C8F #5C1C8F
triadic
#231C8F #8F231C #1C8F23
tetradic
#231C8F #8F1C4E #888F1C #1C8F5C
square
#231C8F #8F1C4E #888F1C #1C8F5C
split-complementary
#231C8F #8F5C1C #4E8F1C
monochromatic
#0A0829 #16125C #231C8F #3026C2 #534ADC
Accessibility & contrast
On white
12.85
#231C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#231C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231C8F
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231C8F | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #231c8f; /* rgb */ color: rgb(35, 28, 143); /* oklch */ color: oklch(33.5% 0.177 273.8);
Tailwind
colors: {
custom: {
50: '#715bb1',
500: '#231c8f',
950: '#000000',
},
}SCSS
$custom: #231c8f; $custom-light: #715bb1; $custom-dark: #000000;
JSON
{
"hex": "#231c8f",
"rgb": {
"r": 35,
"g": 28,
"b": 143
},
"hsl": {
"h": 243.652,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.33465,
"c": 0.17747,
"h": 273.8
},
"luminance": 0.03171
}Semantic roles & 50–950 ramp
primary
#231C8F
secondary
#B7BE49
accent
#EA3EE0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980