#25478E#25478E
#25478E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.4% C 0.124 H 262.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #25478E |
|---|---|
| RGB | rgb(37, 71, 142) |
| HSL | hsl(221, 59%, 35%) |
| HSV | hsv(221, 74%, 56%) |
| CMYK | cmyk(73.9%, 50%, 0%, 44.3%) |
| CIE-LAB | lab(31.47, 13.58, -43.02) |
| CIE-LCH | lch(31.47, 45.11, 287.52°) |
| OKLab | oklab(41.38% -0.0154 -0.1235) |
| OKLCH | oklch(41.38% 0.124 262.9) |
| XYZ | xyz(7.8969, 6.8519, 26.4923) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.07
Darkish Blue
#014182
ΔE00 3.65
Cobalt
#0047AB
ΔE00 4.00
Twilight Blue
#0A437A
ΔE00 4.34
Dusk Blue
#26538D
ΔE00 4.53
Light Navy
#155084
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25478E #8E6C25
analogous
#257C8E #25478E #37258E
triadic
#25478E #8E2547 #478E25
tetradic
#25478E #8E257C #8E6C25 #258E37
square
#25478E #8E257C #8E6C25 #258E37
split-complementary
#25478E #8E3725 #7C8E25
monochromatic
#0C162D #182F5D #25478E #325FBF #5A81D4
Accessibility & contrast
On white
8.86
#25478E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#25478E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25478E
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25478E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25478E | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #25478e; /* rgb */ color: rgb(37, 71, 142); /* oklch */ color: oklch(41.4% 0.124 262.9);
Tailwind
colors: {
custom: {
50: '#6e79af',
500: '#25478e',
950: '#000000',
},
}SCSS
$custom: #25478e; $custom-light: #6e79af; $custom-dark: #000000;
JSON
{
"hex": "#25478e",
"rgb": {
"r": 37,
"g": 71,
"b": 142
},
"hsl": {
"h": 220.571,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.41382,
"c": 0.12444,
"h": 262.9
},
"luminance": 0.06853
}Semantic roles & 50–950 ramp
primary
#25478E
secondary
#B99956
accent
#AF46E2
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F