#23314F#23314F
#23314F is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.6% C 0.057 H 264.4°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).
Color values
| HEX | #23314F |
|---|---|
| RGB | rgb(35, 49, 79) |
| HSL | hsl(221, 39%, 22%) |
| HSV | hsv(221, 56%, 31%) |
| CMYK | cmyk(55.7%, 38%, 0%, 69%) |
| CIE-LAB | lab(20.51, 4.11, -20.21) |
| CIE-LCH | lch(20.51, 20.63, 281.50°) |
| OKLab | oklab(31.61% -0.0056 -0.057) |
| OKLCH | oklch(31.61% 0.057 264.4) |
| XYZ | xyz(3.2023, 3.1182, 7.8288) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.33
Marine
#042E60
ΔE00 5.70
Marine Blue
#01386A
ΔE00 7.16
Dark
#1B2431
ΔE00 8.23
Navy (survey)
#01153E
ΔE00 9.26
Dark Blue Grey
#1F3B4D
ΔE00 9.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23314F #4F4123
analogous
#23474F #23314F #2B234F
triadic
#23314F #4F2331 #314F23
tetradic
#23314F #4F2347 #4F4123 #234F2B
square
#23314F #4F2347 #4F4123 #234F2B
split-complementary
#23314F #4F2B23 #474F23
monochromatic
#090D15 #101725 #23314F #364B79 #4966A4
Accessibility & contrast
On white
12.93
#23314F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#23314F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23314F
12.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23314F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23314F | 1.00 | 12.93 | 1.62 | 12.93 |
| #FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#253450
Deuteranopia (green-blind)
#20304E
Tritanopia (blue-blind)
#0F373C
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #23314f; /* rgb */ color: rgb(35, 49, 79); /* oklch */ color: oklch(31.6% 0.057 264.4);
Tailwind
colors: {
custom: {
50: '#616880',
500: '#23314f',
950: '#000000',
},
}SCSS
$custom: #23314f; $custom-light: #616880; $custom-dark: #000000;
JSON
{
"hex": "#23314f",
"rgb": {
"r": 35,
"g": 49,
"b": 79
},
"hsl": {
"h": 220.909,
"s": 38.596,
"l": 22.353
},
"oklch": {
"l": 0.31608,
"c": 0.05725,
"h": 264.4
},
"luminance": 0.03118
}Semantic roles & 50–950 ramp
primary
#23314F
secondary
#83714B
accent
#A959CF
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C