#25399F#25399F
#25399F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.166 H 268.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #25399F |
|---|---|
| RGB | rgb(37, 57, 159) |
| HSL | hsl(230, 62%, 38%) |
| HSV | hsv(230, 77%, 62%) |
| CMYK | cmyk(76.7%, 64.2%, 0%, 37.6%) |
| CIE-LAB | lab(28.96, 29.65, -57.46) |
| CIE-LCH | lch(28.96, 64.66, 297.29°) |
| OKLab | oklab(39.92% -0.0035 -0.1662) |
| OKLCH | oklch(39.92% 0.166 268.8) |
| XYZ | xyz(8.4819, 5.8218, 33.4709) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.77
Blueberry
#464196
ΔE00 5.08
Cobalt
#0047AB
ΔE00 5.67
Blue Blue
#2242C7
ΔE00 5.83
Darkslateblue
#483D8B
ΔE00 6.40
Ocean Blue
#4F42B5
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25399F #9F8B25
analogous
#25769F #25399F #4E259F
triadic
#25399F #9F2539 #399F25
tetradic
#25399F #9F2576 #9F8B25 #259F4E
square
#25399F #9F2576 #9F8B25 #259F4E
split-complementary
#25399F #9F4E25 #769F25
monochromatic
#0E153C #19276D #25399F #324CCF #6477DB
Accessibility & contrast
On white
9.70
#25399F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#25399F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25399F
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25399F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25399F | 1.00 | 9.70 | 2.16 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #25399f; /* rgb */ color: rgb(37, 57, 159); /* oklch */ color: oklch(39.9% 0.166 268.8);
Tailwind
colors: {
custom: {
50: '#736fbc',
500: '#25399f',
950: '#000000',
},
}SCSS
$custom: #25399f; $custom-light: #736fbc; $custom-dark: #000000;
JSON
{
"hex": "#25399f",
"rgb": {
"r": 37,
"g": 57,
"b": 159
},
"hsl": {
"h": 230.164,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.39918,
"c": 0.1662,
"h": 268.8
},
"luminance": 0.05823
}Semantic roles & 50–950 ramp
primary
#25399F
secondary
#C0B05F
accent
#CB42E5
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81