#231B7F#231B7F
#231B7F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.158 H 275.8°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).
Color values
| HEX | #231B7F |
|---|---|
| RGB | rgb(35, 27, 127) |
| HSL | hsl(245, 65%, 30%) |
| HSV | hsv(245, 79%, 50%) |
| CMYK | cmyk(72.4%, 78.7%, 0%, 50.2%) |
| CIE-LAB | lab(18.68, 36.78, -54.51) |
| CIE-LCH | lch(18.68, 65.76, 304.00°) |
| OKLab | oklab(31.5% 0.016 -0.1576) |
| OKLCH | oklch(31.5% 0.158 275.8) |
| XYZ | xyz(4.9146, 2.6730, 20.3315) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.63
Royal
#0C1793
ΔE00 3.33
Dark Royal Blue
#02066F
ΔE00 5.04
Indigo (survey)
#380282
ΔE00 5.04
Darkblue
#00008B
ΔE00 5.09
Navy
#000080
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231B7F #777F1B
analogous
#1B457F #231B7F #551B7F
triadic
#231B7F #7F231B #1B7F23
tetradic
#231B7F #7F1B45 #777F1B #1B7F55
square
#231B7F #7F1B45 #777F1B #1B7F55
split-complementary
#231B7F #7F551B #457F1B
monochromatic
#07061A #15104D #231B7F #3126B1 #4A3ED6
Accessibility & contrast
On white
13.68
#231B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#231B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231B7F
13.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231B7F | 1.00 | 13.68 | 1.53 | 13.68 |
| #FFFFFF | 13.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #231b7f; /* rgb */ color: rgb(35, 27, 127); /* oklch */ color: oklch(31.5% 0.158 275.8);
Tailwind
colors: {
custom: {
50: '#6d59a5',
500: '#231b7f',
950: '#000000',
},
}SCSS
$custom: #231b7f; $custom-light: #6d59a5; $custom-dark: #000000;
JSON
{
"hex": "#231b7f",
"rgb": {
"r": 35,
"g": 27,
"b": 127
},
"hsl": {
"h": 244.8,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.315,
"c": 0.15841,
"h": 275.8
},
"luminance": 0.02673
}Semantic roles & 50–950 ramp
primary
#231B7F
secondary
#AAB343
accent
#E840DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F