#23299E#23299E
#23299E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.184 H 271.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #23299E |
|---|---|
| RGB | rgb(35, 41, 158) |
| HSL | hsl(237, 64%, 38%) |
| HSV | hsv(237, 78%, 62%) |
| CMYK | cmyk(77.8%, 74.1%, 0%, 38%) |
| CIE-LAB | lab(24.99, 39.27, -63.39) |
| CIE-LCH | lch(24.99, 74.57, 301.78°) |
| OKLab | oklab(36.98% 0.0032 -0.1835) |
| OKLCH | oklch(36.98% 0.184 271) |
| XYZ | xyz(7.6555, 4.4110, 32.7891) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.42
Royal
#0C1793
ΔE00 4.42
Indigo Blue
#3A18B1
ΔE00 5.07
Cobalt Blue
#030AA7
ΔE00 5.70
Royal Blue (survey)
#0504AA
ΔE00 6.22
Ultramarine
#2000B1
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23299E #9E9823
analogous
#23679E #23299E #5A239E
triadic
#23299E #9E2329 #299E23
tetradic
#23299E #9E2367 #9E9823 #239E5A
square
#23299E #9E2367 #9E9823 #239E5A
split-complementary
#23299E #9E5A23 #679E23
monochromatic
#0D0F3A #181C6C #23299E #2E36D0 #6066DC
Accessibility & contrast
On white
11.16
#23299E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#23299E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23299E
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23299E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23299E | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #23299e; /* rgb */ color: rgb(35, 41, 158); /* oklch */ color: oklch(37.0% 0.184 271.0);
Tailwind
colors: {
custom: {
50: '#7464bc',
500: '#23299e',
950: '#000000',
},
}SCSS
$custom: #23299e; $custom-light: #7464bc; $custom-dark: #000000;
JSON
{
"hex": "#23299e",
"rgb": {
"r": 35,
"g": 41,
"b": 158
},
"hsl": {
"h": 237.073,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.36978,
"c": 0.18357,
"h": 271
},
"luminance": 0.04412
}Semantic roles & 50–950 ramp
primary
#23299E
secondary
#C1BC5C
accent
#DF41E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81