#25188F#25188F
#25188F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.180 H 275.1°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).
Color values
| HEX | #25188F |
|---|---|
| RGB | rgb(37, 24, 143) |
| HSL | hsl(247, 71%, 33%) |
| HSV | hsv(247, 83%, 56%) |
| CMYK | cmyk(74.1%, 83.2%, 0%, 43.9%) |
| CIE-LAB | lab(20.16, 43.73, -62.13) |
| CIE-LCH | lch(20.16, 75.97, 305.14°) |
| OKLab | oklab(33.12% 0.0159 -0.1796) |
| OKLCH | oklch(33.12% 0.18 275.1) |
| XYZ | xyz(6.0459, 3.0292, 26.2473) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.72
Cobalt Blue
#030AA7
ΔE00 3.78
Darkblue
#00008B
ΔE00 4.16
Royal Blue (survey)
#0504AA
ΔE00 4.27
Indigo (survey)
#380282
ΔE00 4.46
Navy
#000080
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25188F #828F18
analogous
#18468F #25188F #61188F
triadic
#25188F #8F2518 #188F25
tetradic
#25188F #8F1846 #828F18 #188F61
square
#25188F #8F1846 #828F18 #188F61
split-complementary
#25188F #8F6118 #468F18
monochromatic
#0A0626 #170F5B #25188F #3321C3 #5342DF
Accessibility & contrast
On white
13.08
#25188F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#25188F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25188F
13.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25188F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25188F | 1.00 | 13.08 | 1.61 | 13.08 |
| #FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #25188f; /* rgb */ color: rgb(37, 24, 143); /* oklch */ color: oklch(33.1% 0.180 275.1);
Tailwind
colors: {
custom: {
50: '#7259b1',
500: '#25188f',
950: '#000000',
},
}SCSS
$custom: #25188f; $custom-light: #7259b1; $custom-dark: #000000;
JSON
{
"hex": "#25188f",
"rgb": {
"r": 37,
"g": 24,
"b": 143
},
"hsl": {
"h": 246.555,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.33117,
"c": 0.18033,
"h": 275.1
},
"luminance": 0.0303
}Semantic roles & 50–950 ramp
primary
#25188F
secondary
#B2C043
accent
#EE3ADA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980