#231C96#231C96
#231C96 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.186 H 273.1°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).
Color values
| HEX | #231C96 |
|---|---|
| RGB | rgb(35, 28, 150) |
| HSL | hsl(243, 69%, 35%) |
| HSV | hsv(243, 81%, 59%) |
| CMYK | cmyk(76.7%, 81.3%, 0%, 41.2%) |
| CIE-LAB | lab(21.54, 43.83, -64.18) |
| CIE-LCH | lch(21.54, 77.72, 304.33°) |
| OKLab | oklab(34.28% 0.01 -0.1857) |
| OKLCH | oklch(34.28% 0.186 273.1) |
| XYZ | xyz(6.6116, 3.3891, 29.1540) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.78
Cobalt Blue
#030AA7
ΔE00 3.49
Royal Blue (survey)
#0504AA
ΔE00 4.04
Indigo Blue
#3A18B1
ΔE00 4.57
Ultramarine
#2000B1
ΔE00 4.63
Darkblue
#00008B
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231C96 #8F961C
analogous
#1C5296 #231C96 #601C96
triadic
#231C96 #96231C #1C9623
tetradic
#231C96 #961C52 #8F961C #1C9660
square
#231C96 #961C52 #8F961C #1C9660
split-complementary
#231C96 #96601C #52961C
monochromatic
#0B092F #171262 #231C96 #2F26CA #574EDE
Accessibility & contrast
On white
12.51
#231C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#231C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231C96
12.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231C96 | 1.00 | 12.51 | 1.68 | 12.51 |
| #FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003999
Deuteranopia (green-blind)
#002E94
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #231c96; /* rgb */ color: rgb(35, 28, 150); /* oklch */ color: oklch(34.3% 0.186 273.1);
Tailwind
colors: {
custom: {
50: '#735cb6',
500: '#231c96',
950: '#000000',
},
}SCSS
$custom: #231c96; $custom-light: #735cb6; $custom-dark: #000000;
JSON
{
"hex": "#231c96",
"rgb": {
"r": 35,
"g": 28,
"b": 150
},
"hsl": {
"h": 243.443,
"s": 68.539,
"l": 34.902
},
"oklch": {
"l": 0.34282,
"c": 0.18597,
"h": 273.1
},
"luminance": 0.0339
}Semantic roles & 50–950 ramp
primary
#231C96
secondary
#BAC14D
accent
#EB3CE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980