#231B74#231B74
#231B74 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.144 H 277.4°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #231B74 |
|---|---|
| RGB | rgb(35, 27, 116) |
| HSL | hsl(245, 62%, 28%) |
| HSV | hsv(245, 77%, 45%) |
| CMYK | cmyk(69.8%, 76.7%, 0%, 54.5%) |
| CIE-LAB | lab(17.47, 33.02, -49.48) |
| CIE-LCH | lch(17.47, 59.49, 303.71°) |
| OKLab | oklab(30.28% 0.0186 -0.1429) |
| OKLCH | oklch(30.28% 0.144 277.4) |
| XYZ | xyz(4.2364, 2.4018, 16.7599) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.31
Dark Royal Blue
#02066F
ΔE00 4.79
Royal
#0C1793
ΔE00 5.02
Darkblue (survey)
#030764
ΔE00 5.13
Deep Blue
#040273
ΔE00 5.29
Navy
#000080
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231B74 #6C741B
analogous
#1B3F74 #231B74 #4F1B74
triadic
#231B74 #74231B #1B7423
tetradic
#231B74 #741B3F #6C741B #1B744F
square
#231B74 #741B3F #6C741B #1B744F
split-complementary
#231B74 #744F1B #3F741B
monochromatic
#070619 #140F42 #231B74 #3227A6 #4639D1
Accessibility & contrast
On white
14.19
#231B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#231B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231B74
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231B74 | 1.00 | 14.19 | 1.48 | 14.19 |
| #FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002772
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #231b74; /* rgb */ color: rgb(35, 27, 116); /* oklch */ color: oklch(30.3% 0.144 277.4);
Tailwind
colors: {
custom: {
50: '#6b599d',
500: '#231b74',
950: '#000000',
},
}SCSS
$custom: #231b74; $custom-light: #6b599d; $custom-dark: #000000;
JSON
{
"hex": "#231b74",
"rgb": {
"r": 35,
"g": 27,
"b": 116
},
"hsl": {
"h": 245.393,
"s": 62.238,
"l": 28.039
},
"oklch": {
"l": 0.30279,
"c": 0.14413,
"h": 277.4
},
"luminance": 0.02402
}Semantic roles & 50–950 ramp
primary
#231B74
secondary
#9FA942
accent
#E542D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E