#25187A#25187A
#25187A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.155 H 278.1°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).
Color values
| HEX | #25187A |
|---|---|
| RGB | rgb(37, 24, 122) |
| HSL | hsl(248, 67%, 29%) |
| HSV | hsv(248, 80%, 48%) |
| CMYK | cmyk(69.7%, 80.3%, 0%, 52.2%) |
| CIE-LAB | lab(17.70, 36.98, -52.95) |
| CIE-LCH | lch(17.70, 64.59, 304.93°) |
| OKLab | oklab(30.68% 0.0219 -0.153) |
| OKLCH | oklch(30.68% 0.155 278.1) |
| XYZ | xyz(4.6013, 2.4513, 18.6393) |
| Luminance | 0.0245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.29
Royal
#0C1793
ΔE00 4.04
Dark Royal Blue
#02066F
ΔE00 4.40
Indigo (survey)
#380282
ΔE00 4.51
Deep Blue
#040273
ΔE00 4.66
Navy
#000080
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25187A #6D7A18
analogous
#183C7A #25187A #56187A
triadic
#25187A #7A2518 #187A25
tetradic
#25187A #7A183C #6D7A18 #187A56
square
#25187A #7A183C #6D7A18 #187A56
split-complementary
#25187A #7A5618 #3C7A18
monochromatic
#08051A #150E47 #25187A #3522AD #4B35D7
Accessibility & contrast
On white
14.09
#25187A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#25187A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25187A
14.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25187A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25187A | 1.00 | 14.09 | 1.49 | 14.09 |
| #FFFFFF | 14.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002778
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #25187a; /* rgb */ color: rgb(37, 24, 122); /* oklch */ color: oklch(30.7% 0.155 278.1);
Tailwind
colors: {
custom: {
50: '#6d57a2',
500: '#25187a',
950: '#000000',
},
}SCSS
$custom: #25187a; $custom-light: #6d57a2; $custom-dark: #000000;
JSON
{
"hex": "#25187a",
"rgb": {
"r": 37,
"g": 24,
"b": 122
},
"hsl": {
"h": 247.959,
"s": 67.123,
"l": 28.627
},
"oklch": {
"l": 0.30681,
"c": 0.15452,
"h": 278.1
},
"luminance": 0.02452
}Semantic roles & 50–950 ramp
primary
#25187A
secondary
#A0AF3F
accent
#EA3ED3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F