#231B7A#231B7A
#231B7A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.152 H 276.5°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).
Color values
| HEX | #231B7A |
|---|---|
| RGB | rgb(35, 27, 122) |
| HSL | hsl(245, 64%, 29%) |
| HSV | hsv(245, 78%, 48%) |
| CMYK | cmyk(71.3%, 77.9%, 0%, 52.2%) |
| CIE-LAB | lab(18.12, 35.08, -52.25) |
| CIE-LCH | lch(18.12, 62.93, 303.88°) |
| OKLab | oklab(30.94% 0.0172 -0.151) |
| OKLCH | oklch(30.94% 0.152 276.5) |
| XYZ | xyz(4.5968, 2.5459, 18.6577) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.94
Royal
#0C1793
ΔE00 4.07
Dark Royal Blue
#02066F
ΔE00 4.83
Deep Blue
#040273
ΔE00 5.19
Indigo (survey)
#380282
ΔE00 5.29
Navy
#000080
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231B7A #727A1B
analogous
#1B437A #231B7A #531B7A
triadic
#231B7A #7A231B #1B7A23
tetradic
#231B7A #7A1B43 #727A1B #1B7A53
square
#231B7A #7A1B43 #727A1B #1B7A53
split-complementary
#231B7A #7A531B #437A1B
monochromatic
#070619 #151048 #231B7A #3126AC #483CD4
Accessibility & contrast
On white
13.91
#231B7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#231B7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231B7A
13.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231B7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231B7A | 1.00 | 13.91 | 1.51 | 13.91 |
| #FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002878
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #231b7a; /* rgb */ color: rgb(35, 27, 122); /* oklch */ color: oklch(30.9% 0.152 276.5);
Tailwind
colors: {
custom: {
50: '#6c59a1',
500: '#231b7a',
950: '#000000',
},
}SCSS
$custom: #231b7a; $custom-light: #6c59a1; $custom-dark: #000000;
JSON
{
"hex": "#231b7a",
"rgb": {
"r": 35,
"g": 27,
"b": 122
},
"hsl": {
"h": 245.053,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.3094,
"c": 0.15199,
"h": 276.5
},
"luminance": 0.02546
}Semantic roles & 50–950 ramp
primary
#231B7A
secondary
#A5AE43
accent
#E741D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F