#23297F#23297F
#23297F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.143 H 272.9°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #23297F |
|---|---|
| RGB | rgb(35, 41, 127) |
| HSL | hsl(236, 57%, 32%) |
| HSV | hsv(236, 72%, 50%) |
| CMYK | cmyk(72.4%, 67.7%, 0%, 50.2%) |
| CIE-LAB | lab(21.85, 28.05, -49.30) |
| CIE-LCH | lch(21.85, 56.72, 299.64°) |
| OKLab | oklab(33.77% 0.0071 -0.1424) |
| OKLCH | oklch(33.77% 0.143 272.9) |
| XYZ | xyz(5.3156, 3.4750, 20.4652) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.56
Royal
#0C1793
ΔE00 5.79
Sapphire (survey)
#2138AB
ΔE00 7.27
Darkslateblue
#483D8B
ΔE00 7.28
Blueberry
#464196
ΔE00 8.00
Marine
#042E60
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23297F #7F7923
analogous
#23577F #23297F #4B237F
triadic
#23297F #7F2329 #297F23
tetradic
#23297F #7F2357 #7F7923 #237F4B
square
#23297F #7F2357 #7F7923 #237F4B
split-complementary
#23297F #7F4B23 #577F23
monochromatic
#090A1F #161A4F #23297F #3038AF #4E56CE
Accessibility & contrast
On white
12.39
#23297F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#23297F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23297F
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23297F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23297F | 1.00 | 12.39 | 1.70 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #23297f; /* rgb */ color: rgb(35, 41, 127); /* oklch */ color: oklch(33.8% 0.143 272.9);
Tailwind
colors: {
custom: {
50: '#6c63a5',
500: '#23297f',
950: '#000000',
},
}SCSS
$custom: #23297f; $custom-light: #6c63a5; $custom-dark: #000000;
JSON
{
"hex": "#23297f",
"rgb": {
"r": 35,
"g": 41,
"b": 127
},
"hsl": {
"h": 236.087,
"s": 56.79,
"l": 31.765
},
"oklch": {
"l": 0.33773,
"c": 0.14259,
"h": 272.9
},
"luminance": 0.03476
}Semantic roles & 50–950 ramp
primary
#23297F
secondary
#B1AB4C
accent
#D648E0
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F