#23318B#23318B
#23318B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.149 H 270.2°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #23318B |
|---|---|
| RGB | rgb(35, 49, 139) |
| HSL | hsl(232, 60%, 34%) |
| HSV | hsv(232, 75%, 55%) |
| CMYK | cmyk(74.8%, 64.7%, 0%, 45.5%) |
| CIE-LAB | lab(25.01, 27.20, -51.66) |
| CIE-LCH | lch(25.01, 58.38, 297.76°) |
| OKLab | oklab(36.43% 0.0006 -0.1493) |
| OKLCH | oklch(36.43% 0.149 270.2) |
| XYZ | xyz(6.4501, 4.4174, 24.9338) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.82
Blueberry
#464196
ΔE00 6.19
Darkslateblue
#483D8B
ΔE00 6.25
Royal
#0C1793
ΔE00 6.99
Midnight Blue
#191970
ΔE00 7.25
Marine
#042E60
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23318B #8B7D23
analogous
#23658B #23318B #49238B
triadic
#23318B #8B2331 #318B23
tetradic
#23318B #8B2365 #8B7D23 #238B49
square
#23318B #8B2365 #8B7D23 #238B49
split-complementary
#23318B #8B4923 #658B23
monochromatic
#0A0F29 #17205A #23318B #2F42BC #5466D4
Accessibility & contrast
On white
11.15
#23318B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#23318B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23318B
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23318B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23318B | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #23318b; /* rgb */ color: rgb(35, 49, 139); /* oklch */ color: oklch(36.4% 0.149 270.2);
Tailwind
colors: {
custom: {
50: '#6e69ae',
500: '#23318b',
950: '#000000',
},
}SCSS
$custom: #23318b; $custom-light: #6e69ae; $custom-dark: #000000;
JSON
{
"hex": "#23318b",
"rgb": {
"r": 35,
"g": 49,
"b": 139
},
"hsl": {
"h": 231.923,
"s": 59.77,
"l": 34.118
},
"oklch": {
"l": 0.36425,
"c": 0.14927,
"h": 270.2
},
"luminance": 0.04418
}Semantic roles & 50–950 ramp
primary
#23318B
secondary
#B8AA52
accent
#CE45E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F