#25478F#25478F
#25478F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.126 H 263.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #25478F |
|---|---|
| RGB | rgb(37, 71, 143) |
| HSL | hsl(221, 59%, 35%) |
| HSV | hsv(221, 74%, 56%) |
| CMYK | cmyk(74.1%, 50.3%, 0%, 43.9%) |
| CIE-LAB | lab(31.54, 13.97, -43.52) |
| CIE-LCH | lch(31.54, 45.71, 287.80°) |
| OKLab | oklab(41.46% -0.0152 -0.125) |
| OKLCH | oklch(41.46% 0.126 263) |
| XYZ | xyz(7.9723, 6.8821, 26.8895) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.12
Darkish Blue
#014182
ΔE00 3.74
Cobalt
#0047AB
ΔE00 3.87
Twilight Blue
#0A437A
ΔE00 4.45
Dusk Blue
#26538D
ΔE00 4.57
Light Navy
#155084
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25478F #8F6D25
analogous
#257C8F #25478F #38258F
triadic
#25478F #8F2547 #478F25
tetradic
#25478F #8F257C #8F6D25 #258F38
square
#25478F #8F257C #8F6D25 #258F38
split-complementary
#25478F #8F3825 #7C8F25
monochromatic
#0C172E #182F5E #25478F #325FC0 #5A81D4
Accessibility & contrast
On white
8.84
#25478F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#25478F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25478F
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25478F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25478F | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4F92
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #25478f; /* rgb */ color: rgb(37, 71, 143); /* oklch */ color: oklch(41.5% 0.126 263.0);
Tailwind
colors: {
custom: {
50: '#6e79b0',
500: '#25478f',
950: '#000000',
},
}SCSS
$custom: #25478f; $custom-light: #6e79b0; $custom-dark: #000000;
JSON
{
"hex": "#25478f",
"rgb": {
"r": 37,
"g": 71,
"b": 143
},
"hsl": {
"h": 220.755,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.41457,
"c": 0.1259,
"h": 263
},
"luminance": 0.06883
}Semantic roles & 50–950 ramp
primary
#25478F
secondary
#B99A57
accent
#B046E2
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F