#23179E#23179E
#23179E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.7% C 0.199 H 272.7°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).
Color values
| HEX | #23179E |
|---|---|
| RGB | rgb(35, 23, 158) |
| HSL | hsl(245, 75%, 35%) |
| HSV | hsv(245, 85%, 62%) |
| CMYK | cmyk(77.8%, 85.4%, 0%, 38%) |
| CIE-LAB | lab(21.72, 48.67, -68.80) |
| CIE-LCH | lch(21.72, 84.28, 305.28°) |
| OKLab | oklab(34.69% 0.0093 -0.199) |
| OKLCH | oklch(34.69% 0.199 272.7) |
| XYZ | xyz(7.1690, 3.4380, 32.6269) |
| Luminance | 0.0344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.26
Cobalt Blue
#030AA7
ΔE00 2.29
Royal Blue (survey)
#0504AA
ΔE00 2.76
Ultramarine
#2000B1
ΔE00 3.20
Indigo Blue
#3A18B1
ΔE00 3.59
Darkblue
#00008B
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23179E #929E17
analogous
#174F9E #23179E #66179E
triadic
#23179E #9E2317 #179E23
tetradic
#23179E #9E174F #929E17 #179E66
square
#23179E #9E174F #929E17 #179E66
split-complementary
#23179E #9E6617 #4F9E17
monochromatic
#0B0733 #170F69 #23179E #2F1FD3 #584BE5
Accessibility & contrast
On white
12.44
#23179E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#23179E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23179E
12.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23179E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23179E | 1.00 | 12.44 | 1.69 | 12.44 |
| #FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #23179e; /* rgb */ color: rgb(35, 23, 158); /* oklch */ color: oklch(34.7% 0.199 272.7);
Tailwind
colors: {
custom: {
50: '#755abc',
500: '#23179e',
950: '#000000',
},
}SCSS
$custom: #23179e; $custom-light: #755abc; $custom-dark: #000000;
JSON
{
"hex": "#23179e",
"rgb": {
"r": 35,
"g": 23,
"b": 158
},
"hsl": {
"h": 245.333,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.34688,
"c": 0.19921,
"h": 272.7
},
"luminance": 0.03439
}Semantic roles & 50–950 ramp
primary
#23179E
secondary
#BBC64A
accent
#F137E1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981