#231B7E#231B7E
#231B7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.157 H 275.9°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).
Color values
| HEX | #231B7E |
|---|---|
| RGB | rgb(35, 27, 126) |
| HSL | hsl(245, 65%, 30%) |
| HSV | hsv(245, 79%, 49%) |
| CMYK | cmyk(72.2%, 78.6%, 0%, 50.6%) |
| CIE-LAB | lab(18.57, 36.44, -54.06) |
| CIE-LCH | lch(18.57, 65.20, 303.98°) |
| OKLab | oklab(31.39% 0.0163 -0.1563) |
| OKLCH | oklch(31.39% 0.157 275.9) |
| XYZ | xyz(4.8497, 2.6471, 19.9900) |
| Luminance | 0.0265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.48
Royal
#0C1793
ΔE00 3.48
Dark Royal Blue
#02066F
ΔE00 4.98
Indigo (survey)
#380282
ΔE00 5.08
Navy
#000080
ΔE00 5.14
Darkblue
#00008B
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231B7E #767E1B
analogous
#1B457E #231B7E #541B7E
triadic
#231B7E #7E231B #1B7E23
tetradic
#231B7E #7E1B45 #767E1B #1B7E54
square
#231B7E #7E1B45 #767E1B #1B7E54
split-complementary
#231B7E #7E541B #457E1B
monochromatic
#070519 #15104C #231B7E #3126B0 #4A3ED6
Accessibility & contrast
On white
13.73
#231B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#231B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231B7E
13.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231B7E | 1.00 | 13.73 | 1.53 | 13.73 |
| #FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #231b7e; /* rgb */ color: rgb(35, 27, 126); /* oklch */ color: oklch(31.4% 0.157 275.9);
Tailwind
colors: {
custom: {
50: '#6d59a4',
500: '#231b7e',
950: '#000000',
},
}SCSS
$custom: #231b7e; $custom-light: #6d59a4; $custom-dark: #000000;
JSON
{
"hex": "#231b7e",
"rgb": {
"r": 35,
"g": 27,
"b": 126
},
"hsl": {
"h": 244.848,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.31388,
"c": 0.15713,
"h": 275.9
},
"luminance": 0.02648
}Semantic roles & 50–950 ramp
primary
#231B7E
secondary
#A9B243
accent
#E840DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F