#25428C#25428C
#25428C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.128 H 265.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #25428C |
|---|---|
| RGB | rgb(37, 66, 140) |
| HSL | hsl(223, 58%, 35%) |
| HSV | hsv(223, 74%, 55%) |
| CMYK | cmyk(73.6%, 52.9%, 0%, 45.1%) |
| CIE-LAB | lab(29.87, 16.21, -44.37) |
| CIE-LCH | lch(29.87, 47.24, 290.07°) |
| OKLab | oklab(40.12% -0.0111 -0.1276) |
| OKLCH | oklch(40.12% 0.128 265) |
| XYZ | xyz(7.4431, 6.1824, 25.6069) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.65
Darkish Blue
#014182
ΔE00 3.92
Cobalt
#0047AB
ΔE00 4.61
Twilight Blue
#0A437A
ΔE00 4.88
Blueberry
#464196
ΔE00 6.26
Dusk Blue
#26538D
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25428C #8C6F25
analogous
#25768C #25428C #3C258C
triadic
#25428C #8C2542 #428C25
tetradic
#25428C #8C2576 #8C6F25 #258C3C
square
#25428C #8C2576 #8C6F25 #258C3C
split-complementary
#25428C #8C3C25 #768C25
monochromatic
#0B142B #182B5C #25428C #3259BC #587BD3
Accessibility & contrast
On white
9.39
#25428C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#25428C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25428C
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25428C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25428C | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134B8F
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #25428c; /* rgb */ color: rgb(37, 66, 140); /* oklch */ color: oklch(40.1% 0.128 265.0);
Tailwind
colors: {
custom: {
50: '#6e75ae',
500: '#25428c',
950: '#000000',
},
}SCSS
$custom: #25428c; $custom-light: #6e75ae; $custom-dark: #000000;
JSON
{
"hex": "#25428c",
"rgb": {
"r": 37,
"g": 66,
"b": 140
},
"hsl": {
"h": 223.107,
"s": 58.192,
"l": 34.706
},
"oklch": {
"l": 0.40117,
"c": 0.12805,
"h": 265
},
"luminance": 0.06183
}Semantic roles & 50–950 ramp
primary
#25428C
secondary
#B89C55
accent
#B646E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F