#23308C#23308C
#23308C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.152 H 270.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #23308C |
|---|---|
| RGB | rgb(35, 48, 140) |
| HSL | hsl(233, 60%, 34%) |
| HSV | hsv(233, 75%, 55%) |
| CMYK | cmyk(75%, 65.7%, 0%, 45.1%) |
| CIE-LAB | lab(24.84, 28.25, -52.55) |
| CIE-LCH | lch(24.84, 59.66, 298.26°) |
| OKLab | oklab(36.33% 0.0012 -0.1519) |
| OKLCH | oklch(36.33% 0.152 270.5) |
| XYZ | xyz(6.4821, 4.3640, 25.3066) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.77
Blueberry
#464196
ΔE00 6.31
Darkslateblue
#483D8B
ΔE00 6.35
Royal
#0C1793
ΔE00 6.61
Midnight Blue
#191970
ΔE00 7.05
Marine
#042E60
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23308C #8C7F23
analogous
#23658C #23308C #4A238C
triadic
#23308C #8C2330 #308C23
tetradic
#23308C #8C2365 #8C7F23 #238C4A
square
#23308C #8C2365 #8C7F23 #238C4A
split-complementary
#23308C #8C4A23 #658C23
monochromatic
#0B0E2A #171F5B #23308C #2F41BD #5565D4
Accessibility & contrast
On white
11.21
#23308C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#23308C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23308C
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23308C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23308C | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #23308c; /* rgb */ color: rgb(35, 48, 140); /* oklch */ color: oklch(36.3% 0.152 270.5);
Tailwind
colors: {
custom: {
50: '#6f68ae',
500: '#23308c',
950: '#000000',
},
}SCSS
$custom: #23308c; $custom-light: #6f68ae; $custom-dark: #000000;
JSON
{
"hex": "#23308c",
"rgb": {
"r": 35,
"g": 48,
"b": 140
},
"hsl": {
"h": 232.571,
"s": 60,
"l": 34.314
},
"oklch": {
"l": 0.36331,
"c": 0.15189,
"h": 270.5
},
"luminance": 0.04365
}Semantic roles & 50–950 ramp
primary
#23308C
secondary
#B8AC52
accent
#D045E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F