#23197B#23197B
#23197B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.155 H 276.7°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #23197B |
|---|---|
| RGB | rgb(35, 25, 123) |
| HSL | hsl(246, 66%, 29%) |
| HSV | hsv(246, 80%, 48%) |
| CMYK | cmyk(71.5%, 79.7%, 0%, 51.8%) |
| CIE-LAB | lab(17.84, 36.55, -53.36) |
| CIE-LCH | lch(17.84, 64.68, 304.41°) |
| OKLab | oklab(30.77% 0.0181 -0.1542) |
| OKLCH | oklch(30.77% 0.155 276.7) |
| XYZ | xyz(4.6148, 2.4822, 18.9710) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.17
Royal
#0C1793
ΔE00 3.82
Dark Royal Blue
#02066F
ΔE00 4.49
Deep Blue
#040273
ΔE00 4.78
Indigo (survey)
#380282
ΔE00 4.82
Navy
#000080
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23197B #717B19
analogous
#19407B #23197B #54197B
triadic
#23197B #7B2319 #197B23
tetradic
#23197B #7B1940 #717B19 #197B54
square
#23197B #7B1940 #717B19 #197B54
split-complementary
#23197B #7B5419 #407B19
monochromatic
#070519 #150F48 #23197B #3123AE #4838D7
Accessibility & contrast
On white
14.03
#23197B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#23197B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23197B
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23197B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23197B | 1.00 | 14.03 | 1.50 | 14.03 |
| #FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002779
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #23197b; /* rgb */ color: rgb(35, 25, 123); /* oklch */ color: oklch(30.8% 0.155 276.7);
Tailwind
colors: {
custom: {
50: '#6d58a2',
500: '#23197b',
950: '#000000',
},
}SCSS
$custom: #23197b; $custom-light: #6d58a2; $custom-dark: #000000;
JSON
{
"hex": "#23197b",
"rgb": {
"r": 35,
"g": 25,
"b": 123
},
"hsl": {
"h": 246.122,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.30772,
"c": 0.15529,
"h": 276.7
},
"luminance": 0.02483
}Semantic roles & 50–950 ramp
primary
#23197B
secondary
#A4AF40
accent
#E93FD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F