#231B77#231B77
#231B77 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.148 H 276.9°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).
Color values
| HEX | #231B77 |
|---|---|
| RGB | rgb(35, 27, 119) |
| HSL | hsl(245, 63%, 29%) |
| HSV | hsv(245, 77%, 47%) |
| CMYK | cmyk(70.6%, 77.3%, 0%, 53.3%) |
| CIE-LAB | lab(17.79, 34.05, -50.87) |
| CIE-LCH | lch(17.79, 61.22, 303.80°) |
| OKLab | oklab(30.61% 0.0179 -0.147) |
| OKLCH | oklch(30.61% 0.148 276.9) |
| XYZ | xyz(4.4138, 2.4727, 17.6939) |
| Luminance | 0.0247 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.58
Royal
#0C1793
ΔE00 4.54
Dark Royal Blue
#02066F
ΔE00 4.78
Deep Blue
#040273
ΔE00 5.22
Darkblue (survey)
#030764
ΔE00 5.30
Navy
#000080
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231B77 #6F771B
analogous
#1B4177 #231B77 #511B77
triadic
#231B77 #77231B #1B7723
tetradic
#231B77 #771B41 #6F771B #1B7751
square
#231B77 #771B41 #6F771B #1B7751
split-complementary
#231B77 #77511B #41771B
monochromatic
#070619 #141045 #231B77 #3226A9 #473AD2
Accessibility & contrast
On white
14.05
#231B77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#231B77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231B77
14.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231B77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231B77 | 1.00 | 14.05 | 1.49 | 14.05 |
| #FFFFFF | 14.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7A
Deuteranopia (green-blind)
#002875
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #231b77; /* rgb */ color: rgb(35, 27, 119); /* oklch */ color: oklch(30.6% 0.148 276.9);
Tailwind
colors: {
custom: {
50: '#6b599f',
500: '#231b77',
950: '#000000',
},
}SCSS
$custom: #231b77; $custom-light: #6b599f; $custom-dark: #000000;
JSON
{
"hex": "#231b77",
"rgb": {
"r": 35,
"g": 27,
"b": 119
},
"hsl": {
"h": 245.217,
"s": 63.014,
"l": 28.627
},
"oklch": {
"l": 0.30608,
"c": 0.14808,
"h": 276.9
},
"luminance": 0.02473
}Semantic roles & 50–950 ramp
primary
#231B77
secondary
#A2AB42
accent
#E642D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E