#23308A#23308A
#23308A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.149 H 270.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #23308A |
|---|---|
| RGB | rgb(35, 48, 138) |
| HSL | hsl(232, 60%, 34%) |
| HSV | hsv(232, 75%, 54%) |
| CMYK | cmyk(74.6%, 65.2%, 0%, 45.9%) |
| CIE-LAB | lab(24.66, 27.49, -51.61) |
| CIE-LCH | lch(24.66, 58.47, 298.04°) |
| OKLab | oklab(36.14% 0.0013 -0.1491) |
| OKLCH | oklch(36.14% 0.149 270.5) |
| XYZ | xyz(6.3360, 4.3056, 24.5370) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.04
Darkslateblue
#483D8B
ΔE00 6.33
Blueberry
#464196
ΔE00 6.37
Royal
#0C1793
ΔE00 6.75
Midnight Blue
#191970
ΔE00 6.94
Marine
#042E60
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23308A #8A7D23
analogous
#23648A #23308A #4A238A
triadic
#23308A #8A2330 #308A23
tetradic
#23308A #8A2364 #8A7D23 #238A4A
square
#23308A #8A2364 #8A7D23 #238A4A
split-complementary
#23308A #8A4A23 #648A23
monochromatic
#0A0E28 #171F59 #23308A #2F41BB #5464D4
Accessibility & contrast
On white
11.28
#23308A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#23308A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23308A
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23308A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23308A | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #23308a; /* rgb */ color: rgb(35, 48, 138); /* oklch */ color: oklch(36.1% 0.149 270.5);
Tailwind
colors: {
custom: {
50: '#6e68ad',
500: '#23308a',
950: '#000000',
},
}SCSS
$custom: #23308a; $custom-light: #6e68ad; $custom-dark: #000000;
JSON
{
"hex": "#23308a",
"rgb": {
"r": 35,
"g": 48,
"b": 138
},
"hsl": {
"h": 232.427,
"s": 59.538,
"l": 33.922
},
"oklch": {
"l": 0.3614,
"c": 0.14914,
"h": 270.5
},
"luminance": 0.04306
}Semantic roles & 50–950 ramp
primary
#23308A
secondary
#B7AB51
accent
#CF45E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F