#25319B#25319B
#25319B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.170 H 270.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #25319B |
|---|---|
| RGB | rgb(37, 49, 155) |
| HSL | hsl(234, 61%, 38%) |
| HSV | hsv(234, 76%, 61%) |
| CMYK | cmyk(76.1%, 68.4%, 0%, 39.2%) |
| CIE-LAB | lab(26.61, 33.40, -58.88) |
| CIE-LCH | lch(26.61, 67.70, 299.56°) |
| OKLab | oklab(38.08% 0.0016 -0.1704) |
| OKLCH | oklch(38.08% 0.17 270.5) |
| XYZ | xyz(7.7756, 4.9557, 31.5507) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.88
Blueberry
#464196
ΔE00 5.99
Royal
#0C1793
ΔE00 6.42
Darkslateblue
#483D8B
ΔE00 6.60
Indigo Blue
#3A18B1
ΔE00 7.00
Blue Blue
#2242C7
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25319B #9B8F25
analogous
#256C9B #25319B #54259B
triadic
#25319B #9B2531 #319B25
tetradic
#25319B #9B256C #9B8F25 #259B54
square
#25319B #9B256C #9B8F25 #259B54
split-complementary
#25319B #9B5425 #6C9B25
monochromatic
#0D1238 #19216A #25319B #3141CC #616DD9
Accessibility & contrast
On white
10.55
#25319B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#25319B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25319B
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25319B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25319B | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #25319b; /* rgb */ color: rgb(37, 49, 155); /* oklch */ color: oklch(38.1% 0.170 270.5);
Tailwind
colors: {
custom: {
50: '#7369ba',
500: '#25319b',
950: '#000000',
},
}SCSS
$custom: #25319b; $custom-light: #7369ba; $custom-dark: #000000;
JSON
{
"hex": "#25319b",
"rgb": {
"r": 37,
"g": 49,
"b": 155
},
"hsl": {
"h": 233.898,
"s": 61.458,
"l": 37.647
},
"oklch": {
"l": 0.38084,
"c": 0.17037,
"h": 270.5
},
"luminance": 0.04956
}Semantic roles & 50–950 ramp
primary
#25319B
secondary
#BFB55D
accent
#D443E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81