#23169E#23169E
#23169E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.6% C 0.200 H 272.7°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #23169E |
|---|---|
| RGB | rgb(35, 22, 158) |
| HSL | hsl(246, 76%, 35%) |
| HSV | hsv(246, 86%, 62%) |
| CMYK | cmyk(77.8%, 86.1%, 0%, 38%) |
| CIE-LAB | lab(21.58, 49.10, -69.04) |
| CIE-LCH | lch(21.58, 84.72, 305.42°) |
| OKLab | oklab(34.59% 0.0096 -0.1997) |
| OKLCH | oklch(34.59% 0.2 272.7) |
| XYZ | xyz(7.1495, 3.3990, 32.6204) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.18
Royal
#0C1793
ΔE00 2.28
Royal Blue (survey)
#0504AA
ΔE00 2.64
Ultramarine
#2000B1
ΔE00 3.09
Indigo Blue
#3A18B1
ΔE00 3.61
Darkblue
#00008B
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23169E #919E16
analogous
#164D9E #23169E #67169E
triadic
#23169E #9E2316 #169E23
tetradic
#23169E #9E164D #919E16 #169E67
square
#23169E #9E164D #919E16 #169E67
split-complementary
#23169E #9E6716 #4D9E16
monochromatic
#0B0733 #170F68 #23169E #2F1DD4 #5849E6
Accessibility & contrast
On white
12.50
#23169E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#23169E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23169E
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23169E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23169E | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #23169e; /* rgb */ color: rgb(35, 22, 158); /* oklch */ color: oklch(34.6% 0.200 272.7);
Tailwind
colors: {
custom: {
50: '#7559bc',
500: '#23169e',
950: '#000000',
},
}SCSS
$custom: #23169e; $custom-light: #7559bc; $custom-dark: #000000;
JSON
{
"hex": "#23169e",
"rgb": {
"r": 35,
"g": 22,
"b": 158
},
"hsl": {
"h": 245.735,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.3459,
"c": 0.19989,
"h": 272.7
},
"luminance": 0.034
}Semantic roles & 50–950 ramp
primary
#23169E
secondary
#BBC749
accent
#F236E0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981