#25399E#25399E
#25399E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.165 H 268.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #25399E |
|---|---|
| RGB | rgb(37, 57, 158) |
| HSL | hsl(230, 62%, 38%) |
| HSV | hsv(230, 77%, 62%) |
| CMYK | cmyk(76.6%, 63.9%, 0%, 38%) |
| CIE-LAB | lab(28.87, 29.27, -57.00) |
| CIE-LCH | lch(28.87, 64.08, 297.18°) |
| OKLab | oklab(39.83% -0.0035 -0.1648) |
| OKLCH | oklch(39.83% 0.165 268.8) |
| XYZ | xyz(8.3955, 5.7873, 33.0157) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.91
Blueberry
#464196
ΔE00 5.05
Cobalt
#0047AB
ΔE00 5.68
Blue Blue
#2242C7
ΔE00 5.96
Darkslateblue
#483D8B
ΔE00 6.34
Cobalt (survey)
#1E488F
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25399E #9E8A25
analogous
#25759E #25399E #4E259E
triadic
#25399E #9E2539 #399E25
tetradic
#25399E #9E2575 #9E8A25 #259E4E
square
#25399E #9E2575 #9E8A25 #259E4E
split-complementary
#25399E #9E4E25 #759E25
monochromatic
#0E153B #19276C #25399E #314BCF #6377DA
Accessibility & contrast
On white
9.73
#25399E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#25399E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25399E
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25399E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25399E | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #25399e; /* rgb */ color: rgb(37, 57, 158); /* oklch */ color: oklch(39.8% 0.165 268.8);
Tailwind
colors: {
custom: {
50: '#736fbc',
500: '#25399e',
950: '#000000',
},
}SCSS
$custom: #25399e; $custom-light: #736fbc; $custom-dark: #000000;
JSON
{
"hex": "#25399e",
"rgb": {
"r": 37,
"g": 57,
"b": 158
},
"hsl": {
"h": 230.083,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.39825,
"c": 0.16484,
"h": 268.8
},
"luminance": 0.05788
}Semantic roles & 50–950 ramp
primary
#25399E
secondary
#C0B05F
accent
#CA43E5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81