#25319C#25319C
#25319C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.172 H 270.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #25319C |
|---|---|
| RGB | rgb(37, 49, 156) |
| HSL | hsl(234, 62%, 38%) |
| HSV | hsv(234, 76%, 61%) |
| CMYK | cmyk(76.3%, 68.6%, 0%, 38.8%) |
| CIE-LAB | lab(26.70, 33.77, -59.34) |
| CIE-LCH | lch(26.70, 68.27, 299.64°) |
| OKLab | oklab(38.18% 0.0015 -0.1717) |
| OKLCH | oklch(38.18% 0.172 270.5) |
| XYZ | xyz(7.8600, 4.9894, 31.9949) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.78
Blueberry
#464196
ΔE00 6.01
Royal
#0C1793
ΔE00 6.42
Darkslateblue
#483D8B
ΔE00 6.65
Indigo Blue
#3A18B1
ΔE00 6.91
Blue Blue
#2242C7
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25319C #9C9025
analogous
#256C9C #25319C #55259C
triadic
#25319C #9C2531 #319C25
tetradic
#25319C #9C256C #9C9025 #259C55
square
#25319C #9C256C #9C9025 #259C55
split-complementary
#25319C #9C5525 #6C9C25
monochromatic
#0E1239 #19216B #25319C #3141CD #626EDA
Accessibility & contrast
On white
10.51
#25319C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#25319C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25319C
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25319C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25319C | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #25319c; /* rgb */ color: rgb(37, 49, 156); /* oklch */ color: oklch(38.2% 0.172 270.5);
Tailwind
colors: {
custom: {
50: '#7369ba',
500: '#25319c',
950: '#000000',
},
}SCSS
$custom: #25319c; $custom-light: #7369ba; $custom-dark: #000000;
JSON
{
"hex": "#25319c",
"rgb": {
"r": 37,
"g": 49,
"b": 156
},
"hsl": {
"h": 233.95,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.38184,
"c": 0.17169,
"h": 270.5
},
"luminance": 0.0499
}Semantic roles & 50–950 ramp
primary
#25319C
secondary
#BFB55E
accent
#D443E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81