#23187C#23187C
#23187C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.158 H 276.7°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).
Color values
| HEX | #23187C |
|---|---|
| RGB | rgb(35, 24, 124) |
| HSL | hsl(247, 68%, 29%) |
| HSV | hsv(247, 81%, 49%) |
| CMYK | cmyk(71.8%, 80.6%, 0%, 51.4%) |
| CIE-LAB | lab(17.76, 37.43, -54.13) |
| CIE-LCH | lch(17.76, 65.81, 304.67°) |
| OKLab | oklab(30.75% 0.0184 -0.1564) |
| OKLCH | oklch(30.75% 0.158 276.7) |
| XYZ | xyz(4.6567, 2.4654, 19.2953) |
| Luminance | 0.0247 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.39
Royal
#0C1793
ΔE00 3.64
Dark Royal Blue
#02066F
ΔE00 4.38
Indigo (survey)
#380282
ΔE00 4.58
Navy
#000080
ΔE00 4.58
Deep Blue
#040273
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23187C #717C18
analogous
#183F7C #23187C #55187C
triadic
#23187C #7C2318 #187C23
tetradic
#23187C #7C183F #717C18 #187C55
square
#23187C #7C183F #717C18 #187C55
split-complementary
#23187C #7C5518 #3F7C18
monochromatic
#07051A #150E49 #23187C #3122AF #4836D8
Accessibility & contrast
On white
14.06
#23187C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#23187C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23187C
14.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23187C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23187C | 1.00 | 14.06 | 1.49 | 14.06 |
| #FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #23187c; /* rgb */ color: rgb(35, 24, 124); /* oklch */ color: oklch(30.8% 0.158 276.7);
Tailwind
colors: {
custom: {
50: '#6d57a3',
500: '#23187c',
950: '#000000',
},
}SCSS
$custom: #23187c; $custom-light: #6d57a3; $custom-dark: #000000;
JSON
{
"hex": "#23187c",
"rgb": {
"r": 35,
"g": 24,
"b": 124
},
"hsl": {
"h": 246.6,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.30752,
"c": 0.15751,
"h": 276.7
},
"luminance": 0.02466
}Semantic roles & 50–950 ramp
primary
#23187C
secondary
#A4B13F
accent
#EA3DD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F