#231C7E#231C7E
#231C7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.156 H 275.8°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #231C7E |
|---|---|
| RGB | rgb(35, 28, 126) |
| HSL | hsl(244, 64%, 30%) |
| HSV | hsv(244, 78%, 49%) |
| CMYK | cmyk(72.2%, 77.8%, 0%, 50.6%) |
| CIE-LAB | lab(18.77, 35.86, -53.73) |
| CIE-LCH | lch(18.77, 64.60, 303.72°) |
| OKLab | oklab(31.53% 0.0157 -0.1553) |
| OKLCH | oklch(31.53% 0.156 275.8) |
| XYZ | xyz(4.8730, 2.6937, 19.9978) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.47
Royal
#0C1793
ΔE00 3.55
Dark Royal Blue
#02066F
ΔE00 5.17
Indigo (survey)
#380282
ΔE00 5.30
Navy
#000080
ΔE00 5.36
Darkblue
#00008B
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231C7E #777E1C
analogous
#1C467E #231C7E #541C7E
triadic
#231C7E #7E231C #1C7E23
tetradic
#231C7E #7E1C46 #777E1C #1C7E54
square
#231C7E #7E1C46 #777E1C #1C7E54
split-complementary
#231C7E #7E541C #467E1C
monochromatic
#07061A #15114C #231C7E #3127B0 #4A40D5
Accessibility & contrast
On white
13.65
#231C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#231C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231C7E
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231C7E | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #231c7e; /* rgb */ color: rgb(35, 28, 126); /* oklch */ color: oklch(31.5% 0.156 275.8);
Tailwind
colors: {
custom: {
50: '#6d5aa4',
500: '#231c7e',
950: '#000000',
},
}SCSS
$custom: #231c7e; $custom-light: #6d5aa4; $custom-dark: #000000;
JSON
{
"hex": "#231c7e",
"rgb": {
"r": 35,
"g": 28,
"b": 126
},
"hsl": {
"h": 244.286,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.3153,
"c": 0.15612,
"h": 275.8
},
"luminance": 0.02694
}Semantic roles & 50–950 ramp
primary
#231C7E
secondary
#AAB244
accent
#E741DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F