#25319E#25319E
#25319E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.174 H 270.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #25319E |
|---|---|
| RGB | rgb(37, 49, 158) |
| HSL | hsl(234, 62%, 38%) |
| HSV | hsv(234, 77%, 62%) |
| CMYK | cmyk(76.6%, 69%, 0%, 38%) |
| CIE-LAB | lab(26.90, 34.50, -60.24) |
| CIE-LCH | lch(26.90, 69.41, 299.80°) |
| OKLab | oklab(38.38% 0.0013 -0.1743) |
| OKLCH | oklch(38.38% 0.174 270.4) |
| XYZ | xyz(8.0307, 5.0577, 32.8941) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.61
Blueberry
#464196
ΔE00 6.07
Royal
#0C1793
ΔE00 6.44
Indigo Blue
#3A18B1
ΔE00 6.73
Darkslateblue
#483D8B
ΔE00 6.77
Blue Blue
#2242C7
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25319E #9E9225
analogous
#256D9E #25319E #56259E
triadic
#25319E #9E2531 #319E25
tetradic
#25319E #9E256D #9E9225 #259E56
square
#25319E #9E256D #9E9225 #259E56
split-complementary
#25319E #9E5625 #6D9E25
monochromatic
#0E123B #19226C #25319E #3141CF #636FDA
Accessibility & contrast
On white
10.44
#25319E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#25319E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25319E
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25319E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25319E | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #25319e; /* rgb */ color: rgb(37, 49, 158); /* oklch */ color: oklch(38.4% 0.174 270.4);
Tailwind
colors: {
custom: {
50: '#7469bc',
500: '#25319e',
950: '#000000',
},
}SCSS
$custom: #25319e; $custom-light: #7469bc; $custom-dark: #000000;
JSON
{
"hex": "#25319e",
"rgb": {
"r": 37,
"g": 49,
"b": 158
},
"hsl": {
"h": 234.05,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.38383,
"c": 0.17432,
"h": 270.4
},
"luminance": 0.05059
}Semantic roles & 50–950 ramp
primary
#25319E
secondary
#C0B65F
accent
#D543E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81