#25478C#25478C
#25478C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.122 H 262.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #25478C |
|---|---|
| RGB | rgb(37, 71, 140) |
| HSL | hsl(220, 58%, 35%) |
| HSV | hsv(220, 74%, 55%) |
| CMYK | cmyk(73.6%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(31.33, 12.79, -42.01) |
| CIE-LCH | lch(31.33, 43.92, 286.93°) |
| OKLab | oklab(41.23% -0.0157 -0.1205) |
| OKLCH | oklch(41.23% 0.122 262.6) |
| XYZ | xyz(7.7481, 6.7924, 25.7086) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.05
Darkish Blue
#014182
ΔE00 3.48
Twilight Blue
#0A437A
ΔE00 4.12
Cobalt
#0047AB
ΔE00 4.24
Dusk Blue
#26538D
ΔE00 4.46
Prussian Blue
#004577
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25478C #8C6A25
analogous
#257B8C #25478C #36258C
triadic
#25478C #8C2547 #478C25
tetradic
#25478C #8C257B #8C6A25 #258C36
square
#25478C #8C257B #8C6A25 #258C36
split-complementary
#25478C #8C3625 #7B8C25
monochromatic
#0B162B #182E5C #25478C #3260BC #5881D3
Accessibility & contrast
On white
8.90
#25478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#25478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25478C
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25478C | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214F8F
Deuteranopia (green-blind)
#04458B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #25478c; /* rgb */ color: rgb(37, 71, 140); /* oklch */ color: oklch(41.2% 0.122 262.6);
Tailwind
colors: {
custom: {
50: '#6e79ae',
500: '#25478c',
950: '#000000',
},
}SCSS
$custom: #25478c; $custom-light: #6e79ae; $custom-dark: #000000;
JSON
{
"hex": "#25478c",
"rgb": {
"r": 37,
"g": 71,
"b": 140
},
"hsl": {
"h": 220.194,
"s": 58.192,
"l": 34.706
},
"oklch": {
"l": 0.41232,
"c": 0.12155,
"h": 262.6
},
"luminance": 0.06793
}Semantic roles & 50–950 ramp
primary
#25478C
secondary
#B89755
accent
#AE46E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F