#25147B#25147B
#25147B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.159 H 278.5°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).
Color values
| HEX | #25147B |
|---|---|
| RGB | rgb(37, 20, 123) |
| HSL | hsl(250, 72%, 28%) |
| HSV | hsv(250, 84%, 48%) |
| CMYK | cmyk(69.9%, 83.7%, 0%, 51.8%) |
| CIE-LAB | lab(17.10, 39.37, -54.58) |
| CIE-LCH | lch(17.10, 67.30, 305.80°) |
| OKLab | oklab(30.3% 0.0237 -0.1576) |
| OKLCH | oklch(30.3% 0.159 278.5) |
| XYZ | xyz(4.5871, 2.3233, 18.9418) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.87
Indigo (survey)
#380282
ΔE00 3.78
Dark Royal Blue
#02066F
ΔE00 3.91
Royal
#0C1793
ΔE00 3.92
Navy
#000080
ΔE00 4.00
Deep Blue
#040273
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25147B #6A7B14
analogous
#14367B #25147B #58147B
triadic
#25147B #7B2514 #147B25
tetradic
#25147B #7B1436 #6A7B14 #147B58
square
#25147B #7B1436 #6A7B14 #147B58
split-complementary
#25147B #7B5814 #367B14
monochromatic
#08041A #150B46 #25147B #351DB0 #4A2DDD
Accessibility & contrast
On white
14.34
#25147B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#25147B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25147B
14.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25147B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25147B | 1.00 | 14.34 | 1.46 | 14.34 |
| #FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #25147b; /* rgb */ color: rgb(37, 20, 123); /* oklch */ color: oklch(30.3% 0.159 278.5);
Tailwind
colors: {
custom: {
50: '#6e55a2',
500: '#25147b',
950: '#000000',
},
}SCSS
$custom: #25147b; $custom-light: #6e55a2; $custom-dark: #000000;
JSON
{
"hex": "#25147b",
"rgb": {
"r": 37,
"g": 20,
"b": 123
},
"hsl": {
"h": 249.903,
"s": 72.028,
"l": 28.039
},
"oklch": {
"l": 0.303,
"c": 0.15941,
"h": 278.5
},
"luminance": 0.02324
}Semantic roles & 50–950 ramp
primary
#25147B
secondary
#9DB13A
accent
#EF39D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F