#25498C#25498C
#25498C is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.119 H 261.5°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #25498C |
|---|---|
| RGB | rgb(37, 73, 140) |
| HSL | hsl(219, 58%, 35%) |
| HSV | hsv(219, 74%, 55%) |
| CMYK | cmyk(73.6%, 47.9%, 0%, 45.1%) |
| CIE-LAB | lab(31.92, 11.43, -41.06) |
| CIE-LCH | lch(31.92, 42.62, 285.56°) |
| OKLab | oklab(41.69% -0.0175 -0.1177) |
| OKLCH | oklch(41.69% 0.119 261.5) |
| XYZ | xyz(7.8774, 7.0510, 25.7517) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.80
Darkish Blue
#014182
ΔE00 3.57
Dusk Blue
#26538D
ΔE00 3.72
Twilight Blue
#0A437A
ΔE00 4.02
Cobalt
#0047AB
ΔE00 4.27
Light Navy
#155084
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25498C #8C6825
analogous
#257D8C #25498C #35258C
triadic
#25498C #8C2549 #498C25
tetradic
#25498C #8C257D #8C6825 #258C35
square
#25498C #8C257D #8C6825 #258C35
split-complementary
#25498C #8C3525 #7D8C25
monochromatic
#0B172B #18305C #25498C #3262BC #5883D3
Accessibility & contrast
On white
8.71
#25498C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#25498C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25498C
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25498C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25498C | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26508F
Deuteranopia (green-blind)
#0E478B
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #25498c; /* rgb */ color: rgb(37, 73, 140); /* oklch */ color: oklch(41.7% 0.119 261.5);
Tailwind
colors: {
custom: {
50: '#6e7bae',
500: '#25498c',
950: '#000000',
},
}SCSS
$custom: #25498c; $custom-light: #6e7bae; $custom-dark: #000000;
JSON
{
"hex": "#25498c",
"rgb": {
"r": 37,
"g": 73,
"b": 140
},
"hsl": {
"h": 219.029,
"s": 58.192,
"l": 34.706
},
"oklch": {
"l": 0.41687,
"c": 0.11899,
"h": 261.5
},
"luminance": 0.07052
}Semantic roles & 50–950 ramp
primary
#25498C
secondary
#B89555
accent
#AB46E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F