#23137F#23137F
#23137F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.166 H 276.9°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #23137F |
|---|---|
| RGB | rgb(35, 19, 127) |
| HSL | hsl(249, 74%, 29%) |
| HSV | hsv(249, 85%, 50%) |
| CMYK | cmyk(72.4%, 85%, 0%, 50.2%) |
| CIE-LAB | lab(17.25, 40.93, -56.89) |
| CIE-LCH | lch(17.25, 70.08, 305.73°) |
| OKLab | oklab(30.5% 0.0198 -0.1644) |
| OKLCH | oklch(30.5% 0.166 276.9) |
| XYZ | xyz(4.7555, 2.3549, 20.2785) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.31
Royal
#0C1793
ΔE00 3.31
Navy
#000080
ΔE00 3.61
Indigo (survey)
#380282
ΔE00 3.66
Darkblue
#00008B
ΔE00 3.69
Deep Blue
#040273
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23137F #6F7F13
analogous
#13397F #23137F #59137F
triadic
#23137F #7F2313 #137F23
tetradic
#23137F #7F1339 #6F7F13 #137F59
square
#23137F #7F1339 #6F7F13 #137F59
split-complementary
#23137F #7F5913 #397F13
monochromatic
#07041B #140B4A #23137F #321BB4 #472DE0
Accessibility & contrast
On white
14.28
#23137F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#23137F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23137F
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23137F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23137F | 1.00 | 14.28 | 1.47 | 14.28 |
| #FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #23137f; /* rgb */ color: rgb(35, 19, 127); /* oklch */ color: oklch(30.5% 0.166 276.9);
Tailwind
colors: {
custom: {
50: '#6e55a5',
500: '#23137f',
950: '#000000',
},
}SCSS
$custom: #23137f; $custom-light: #6e55a5; $custom-dark: #000000;
JSON
{
"hex": "#23137f",
"rgb": {
"r": 35,
"g": 19,
"b": 127
},
"hsl": {
"h": 248.889,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.30501,
"c": 0.16556,
"h": 276.9
},
"luminance": 0.02355
}Semantic roles & 50–950 ramp
primary
#23137F
secondary
#A2B439
accent
#F137D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F