#23397F#23397F
#23397F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.122 H 267.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #23397F |
|---|---|
| RGB | rgb(35, 57, 127) |
| HSL | hsl(226, 57%, 32%) |
| HSV | hsv(226, 72%, 50%) |
| CMYK | cmyk(72.4%, 55.1%, 0%, 50.2%) |
| CIE-LAB | lab(26.20, 17.02, -42.22) |
| CIE-LCH | lch(26.20, 45.52, 291.96°) |
| OKLab | oklab(37% -0.0062 -0.1214) |
| OKLCH | oklch(37% 0.122 267.1) |
| XYZ | xyz(5.9857, 4.8153, 20.6885) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 5.20
Marine Blue
#01386A
ΔE00 5.57
Cobalt (survey)
#1E488F
ΔE00 5.59
Marine
#042E60
ΔE00 5.98
Twilight Blue
#0A437A
ΔE00 6.11
Blueberry
#464196
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23397F #7F6923
analogous
#23677F #23397F #3B237F
triadic
#23397F #7F2339 #397F23
tetradic
#23397F #7F2367 #7F6923 #237F3B
square
#23397F #7F2367 #7F6923 #237F3B
split-complementary
#23397F #7F3B23 #677F23
monochromatic
#090E1F #16234F #23397F #304FAF #4E6DCE
Accessibility & contrast
On white
10.70
#23397F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#23397F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23397F
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23397F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23397F | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#074281
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #23397f; /* rgb */ color: rgb(35, 57, 127); /* oklch */ color: oklch(37.0% 0.122 267.1);
Tailwind
colors: {
custom: {
50: '#6b6fa5',
500: '#23397f',
950: '#000000',
},
}SCSS
$custom: #23397f; $custom-light: #6b6fa5; $custom-dark: #000000;
JSON
{
"hex": "#23397f",
"rgb": {
"r": 35,
"g": 57,
"b": 127
},
"hsl": {
"h": 225.652,
"s": 56.79,
"l": 31.765
},
"oklch": {
"l": 0.37005,
"c": 0.12158,
"h": 267.1
},
"luminance": 0.04816
}Semantic roles & 50–950 ramp
primary
#23397F
secondary
#B1994C
accent
#BC48E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F