#25197C#25197C
#25197C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.156 H 277.6°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).
Color values
| HEX | #25197C |
|---|---|
| RGB | rgb(37, 25, 124) |
| HSL | hsl(247, 66%, 29%) |
| HSV | hsv(247, 80%, 49%) |
| CMYK | cmyk(70.2%, 79.8%, 0%, 51.4%) |
| CIE-LAB | lab(18.11, 37.10, -53.54) |
| CIE-LCH | lch(18.11, 65.14, 304.72°) |
| OKLab | oklab(31.04% 0.0208 -0.1547) |
| OKLCH | oklch(31.04% 0.156 277.6) |
| XYZ | xyz(4.7475, 2.5434, 19.3056) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.44
Royal
#0C1793
ΔE00 3.77
Indigo (survey)
#380282
ΔE00 4.60
Dark Royal Blue
#02066F
ΔE00 4.64
Navy
#000080
ΔE00 4.85
Deep Blue
#040273
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25197C #707C19
analogous
#193F7C #25197C #57197C
triadic
#25197C #7C2519 #197C25
tetradic
#25197C #7C193F #707C19 #197C57
square
#25197C #7C193F #707C19 #197C57
split-complementary
#25197C #7C5719 #3F7C19
monochromatic
#080519 #160F49 #25197C #3423AF #4C38D7
Accessibility & contrast
On white
13.92
#25197C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#25197C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25197C
13.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25197C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25197C | 1.00 | 13.92 | 1.51 | 13.92 |
| #FFFFFF | 13.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #25197c; /* rgb */ color: rgb(37, 25, 124); /* oklch */ color: oklch(31.0% 0.156 277.6);
Tailwind
colors: {
custom: {
50: '#6e58a3',
500: '#25197c',
950: '#000000',
},
}SCSS
$custom: #25197c; $custom-light: #6e58a3; $custom-dark: #000000;
JSON
{
"hex": "#25197c",
"rgb": {
"r": 37,
"g": 25,
"b": 124
},
"hsl": {
"h": 247.273,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.3104,
"c": 0.15608,
"h": 277.6
},
"luminance": 0.02544
}Semantic roles & 50–950 ramp
primary
#25197C
secondary
#A3B040
accent
#E93ED5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F