#25197B#25197B
#25197B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.155 H 277.8°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).
Color values
| HEX | #25197B |
|---|---|
| RGB | rgb(37, 25, 123) |
| HSL | hsl(247, 66%, 29%) |
| HSV | hsv(247, 80%, 48%) |
| CMYK | cmyk(69.9%, 79.7%, 0%, 51.8%) |
| CIE-LAB | lab(18.00, 36.77, -53.09) |
| CIE-LCH | lch(18.00, 64.58, 304.70°) |
| OKLab | oklab(30.93% 0.021 -0.1534) |
| OKLCH | oklch(30.93% 0.155 277.8) |
| XYZ | xyz(4.6846, 2.5182, 18.9742) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.32
Royal
#0C1793
ΔE00 3.91
Dark Royal Blue
#02066F
ΔE00 4.60
Indigo (survey)
#380282
ΔE00 4.65
Deep Blue
#040273
ΔE00 4.86
Navy
#000080
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25197B #6F7B19
analogous
#193E7B #25197B #56197B
triadic
#25197B #7B2519 #197B25
tetradic
#25197B #7B193E #6F7B19 #197B56
square
#25197B #7B193E #6F7B19 #197B56
split-complementary
#25197B #7B5619 #3E7B19
monochromatic
#080519 #160F48 #25197B #3423AE #4B38D7
Accessibility & contrast
On white
13.96
#25197B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#25197B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25197B
13.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25197B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25197B | 1.00 | 13.96 | 1.50 | 13.96 |
| #FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #25197b; /* rgb */ color: rgb(37, 25, 123); /* oklch */ color: oklch(30.9% 0.155 277.8);
Tailwind
colors: {
custom: {
50: '#6d58a2',
500: '#25197b',
950: '#000000',
},
}SCSS
$custom: #25197b; $custom-light: #6d58a2; $custom-dark: #000000;
JSON
{
"hex": "#25197b",
"rgb": {
"r": 37,
"g": 25,
"b": 123
},
"hsl": {
"h": 247.347,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.30928,
"c": 0.15482,
"h": 277.8
},
"luminance": 0.02519
}Semantic roles & 50–950 ramp
primary
#25197B
secondary
#A2AF40
accent
#E93FD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F