#23197C#23197C
#23197C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.157 H 276.5°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #23197C |
|---|---|
| RGB | rgb(35, 25, 124) |
| HSL | hsl(246, 66%, 29%) |
| HSV | hsv(246, 80%, 49%) |
| CMYK | cmyk(71.8%, 79.8%, 0%, 51.4%) |
| CIE-LAB | lab(17.95, 36.89, -53.81) |
| CIE-LCH | lch(17.95, 65.24, 304.43°) |
| OKLab | oklab(30.89% 0.0178 -0.1555) |
| OKLCH | oklch(30.89% 0.157 276.5) |
| XYZ | xyz(4.6777, 2.5074, 19.3023) |
| Luminance | 0.0251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.30
Royal
#0C1793
ΔE00 3.67
Dark Royal Blue
#02066F
ΔE00 4.54
Indigo (survey)
#380282
ΔE00 4.77
Navy
#000080
ΔE00 4.78
Deep Blue
#040273
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23197C #727C19
analogous
#19417C #23197C #55197C
triadic
#23197C #7C2319 #197C23
tetradic
#23197C #7C1941 #727C19 #197C55
square
#23197C #7C1941 #727C19 #197C55
split-complementary
#23197C #7C5519 #417C19
monochromatic
#070519 #150F49 #23197C #3123AF #4838D7
Accessibility & contrast
On white
13.99
#23197C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#23197C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23197C
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23197C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23197C | 1.00 | 13.99 | 1.50 | 13.99 |
| #FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #23197c; /* rgb */ color: rgb(35, 25, 124); /* oklch */ color: oklch(30.9% 0.157 276.5);
Tailwind
colors: {
custom: {
50: '#6d58a3',
500: '#23197c',
950: '#000000',
},
}SCSS
$custom: #23197c; $custom-light: #6d58a3; $custom-dark: #000000;
JSON
{
"hex": "#23197c",
"rgb": {
"r": 35,
"g": 25,
"b": 124
},
"hsl": {
"h": 246.061,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.30885,
"c": 0.15656,
"h": 276.5
},
"luminance": 0.02508
}Semantic roles & 50–950 ramp
primary
#23197C
secondary
#A5B040
accent
#E93ED8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F