#25168C#25168C
#25168C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.178 H 275.6°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #25168C |
|---|---|
| RGB | rgb(37, 22, 140) |
| HSL | hsl(248, 73%, 32%) |
| HSV | hsv(248, 84%, 55%) |
| CMYK | cmyk(73.6%, 84.3%, 0%, 45.1%) |
| CIE-LAB | lab(19.47, 43.74, -61.39) |
| CIE-LCH | lch(19.47, 75.38, 305.47°) |
| OKLab | oklab(32.54% 0.0176 -0.1775) |
| OKLCH | oklch(32.54% 0.178 275.6) |
| XYZ | xyz(5.7819, 2.8600, 25.0532) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.92
Darkblue
#00008B
ΔE00 3.79
Cobalt Blue
#030AA7
ΔE00 3.99
Indigo (survey)
#380282
ΔE00 4.04
Royal Blue (survey)
#0504AA
ΔE00 4.45
Navy
#000080
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25168C #7D8C16
analogous
#16428C #25168C #60168C
triadic
#25168C #8C2516 #168C25
tetradic
#25168C #8C1642 #7D8C16 #168C60
square
#25168C #8C1642 #7D8C16 #168C60
split-complementary
#25168C #8C6016 #428C16
monochromatic
#090522 #170E57 #25168C #331EC1 #513CE0
Accessibility & contrast
On white
13.36
#25168C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#25168C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25168C
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25168C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25168C | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#002A8A
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #25168c; /* rgb */ color: rgb(37, 22, 140); /* oklch */ color: oklch(32.5% 0.178 275.6);
Tailwind
colors: {
custom: {
50: '#7258af',
500: '#25168c',
950: '#000000',
},
}SCSS
$custom: #25168c; $custom-light: #7258af; $custom-dark: #000000;
JSON
{
"hex": "#25168c",
"rgb": {
"r": 37,
"g": 22,
"b": 140
},
"hsl": {
"h": 247.627,
"s": 72.84,
"l": 31.765
},
"oklch": {
"l": 0.32538,
"c": 0.17833,
"h": 275.6
},
"luminance": 0.02861
}Semantic roles & 50–950 ramp
primary
#25168C
secondary
#AFC03E
accent
#F038D8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880