#25498F#25498F
#25498F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.123 H 262.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #25498F |
|---|---|
| RGB | rgb(37, 73, 143) |
| HSL | hsl(220, 59%, 35%) |
| HSV | hsv(220, 74%, 56%) |
| CMYK | cmyk(74.1%, 49%, 0%, 43.9%) |
| CIE-LAB | lab(32.13, 12.61, -42.57) |
| CIE-LCH | lch(32.13, 44.40, 286.50°) |
| OKLab | oklab(41.91% -0.0171 -0.1221) |
| OKLCH | oklch(41.91% 0.123 262) |
| XYZ | xyz(8.1016, 7.1407, 26.9326) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.77
Darkish Blue
#014182
ΔE00 3.80
Dusk Blue
#26538D
ΔE00 3.84
Cobalt
#0047AB
ΔE00 3.91
Twilight Blue
#0A437A
ΔE00 4.34
Light Navy
#155084
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25498F #8F6B25
analogous
#257E8F #25498F #36258F
triadic
#25498F #8F2549 #498F25
tetradic
#25498F #8F257E #8F6B25 #258F36
square
#25498F #8F257E #8F6B25 #258F36
split-complementary
#25498F #8F3625 #7E8F25
monochromatic
#0C172E #18305E #25498F #3262C0 #5A84D4
Accessibility & contrast
On white
8.65
#25498F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#25498F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25498F
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25498F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25498F | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#05478E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #25498f; /* rgb */ color: rgb(37, 73, 143); /* oklch */ color: oklch(41.9% 0.123 262.0);
Tailwind
colors: {
custom: {
50: '#6e7bb0',
500: '#25498f',
950: '#000000',
},
}SCSS
$custom: #25498f; $custom-light: #6e7bb0; $custom-dark: #000000;
JSON
{
"hex": "#25498f",
"rgb": {
"r": 37,
"g": 73,
"b": 143
},
"hsl": {
"h": 219.623,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.41907,
"c": 0.12333,
"h": 262
},
"luminance": 0.07142
}Semantic roles & 50–950 ramp
primary
#25498F
secondary
#B99857
accent
#AD46E2
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F