#25167F#25167F
#25167F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.163 H 277.6°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).
Color values
| HEX | #25167F |
|---|---|
| RGB | rgb(37, 22, 127) |
| HSL | hsl(249, 70%, 29%) |
| HSV | hsv(249, 83%, 50%) |
| CMYK | cmyk(70.9%, 82.7%, 0%, 50.2%) |
| CIE-LAB | lab(17.91, 39.65, -55.78) |
| CIE-LCH | lch(17.91, 68.44, 305.40°) |
| OKLab | oklab(31% 0.0215 -0.1612) |
| OKLCH | oklch(31% 0.163 277.6) |
| XYZ | xyz(4.8794, 2.4990, 20.2998) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.09
Royal
#0C1793
ΔE00 3.32
Indigo (survey)
#380282
ΔE00 3.93
Navy
#000080
ΔE00 4.21
Darkblue
#00008B
ΔE00 4.23
Dark Royal Blue
#02066F
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25167F #707F16
analogous
#163C7F #25167F #5A167F
triadic
#25167F #7F2516 #167F25
tetradic
#25167F #7F163C #707F16 #167F5A
square
#25167F #7F163C #707F16 #167F5A
split-complementary
#25167F #7F5A16 #3C7F16
monochromatic
#08051A #160D4B #25167F #341FB3 #4C34DC
Accessibility & contrast
On white
14.00
#25167F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#25167F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25167F
14.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25167F | 1.00 | 14.00 | 1.50 | 14.00 |
| #FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #25167f; /* rgb */ color: rgb(37, 22, 127); /* oklch */ color: oklch(31.0% 0.163 277.6);
Tailwind
colors: {
custom: {
50: '#6f57a5',
500: '#25167f',
950: '#000000',
},
}SCSS
$custom: #25167f; $custom-light: #6f57a5; $custom-dark: #000000;
JSON
{
"hex": "#25167f",
"rgb": {
"r": 37,
"g": 22,
"b": 127
},
"hsl": {
"h": 248.571,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.31003,
"c": 0.16259,
"h": 277.6
},
"luminance": 0.02499
}Semantic roles & 50–950 ramp
primary
#25167F
secondary
#A3B43D
accent
#ED3BD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F