#25579F#25579F
#25579F is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.2% C 0.129 H 258.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #25579F |
|---|---|
| RGB | rgb(37, 87, 159) |
| HSL | hsl(215, 62%, 38%) |
| HSV | hsv(215, 77%, 62%) |
| CMYK | cmyk(76.7%, 45.3%, 0%, 37.6%) |
| CIE-LAB | lab(37.32, 9.53, -43.91) |
| CIE-LCH | lch(37.32, 44.94, 282.24°) |
| OKLab | oklab(46.24% -0.0268 -0.1258) |
| OKLCH | oklch(46.24% 0.129 258) |
| XYZ | xyz(10.4269, 9.7117, 34.1192) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.45
Denim Blue
#3B5B92
ΔE00 3.07
Light Navy Blue
#2E5A88
ΔE00 3.23
Sapphire
#0F52BA
ΔE00 3.84
Denim
#1560BD
ΔE00 4.48
Light Navy
#155084
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25579F #9F6D25
analogous
#25949F #25579F #30259F
triadic
#25579F #9F2557 #579F25
tetradic
#25579F #9F2594 #9F6D25 #259F30
square
#25579F #9F2594 #9F6D25 #259F30
split-complementary
#25579F #9F3025 #949F25
monochromatic
#0E213C #193C6D #25579F #3272CF #6494DB
Accessibility & contrast
On white
7.14
#25579F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#25579F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25579F
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25579F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25579F | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325EA2
Deuteranopia (green-blind)
#19539E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #25579f; /* rgb */ color: rgb(37, 87, 159); /* oklch */ color: oklch(46.2% 0.129 258.0);
Tailwind
colors: {
custom: {
50: '#7185bc',
500: '#25579f',
950: '#000000',
},
}SCSS
$custom: #25579f; $custom-light: #7185bc; $custom-dark: #000000;
JSON
{
"hex": "#25579f",
"rgb": {
"r": 37,
"g": 87,
"b": 159
},
"hsl": {
"h": 215.41,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.46244,
"c": 0.12866,
"h": 258
},
"luminance": 0.09713
}Semantic roles & 50–950 ramp
primary
#25579F
secondary
#C0995F
accent
#A342E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81