#25189E#25189E
#25189E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.198 H 273.4°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #25189E |
|---|---|
| RGB | rgb(37, 24, 158) |
| HSL | hsl(246, 74%, 36%) |
| HSV | hsv(246, 85%, 62%) |
| CMYK | cmyk(76.6%, 84.8%, 0%, 38%) |
| CIE-LAB | lab(22.00, 48.36, -68.34) |
| CIE-LCH | lch(22.00, 83.72, 305.29°) |
| OKLab | oklab(34.91% 0.0117 -0.1976) |
| OKLCH | oklch(34.91% 0.198 273.4) |
| XYZ | xyz(7.2591, 3.5144, 32.6369) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.39
Cobalt Blue
#030AA7
ΔE00 2.49
Royal Blue (survey)
#0504AA
ΔE00 2.95
Ultramarine
#2000B1
ΔE00 3.30
Indigo Blue
#3A18B1
ΔE00 3.46
Darkblue
#00008B
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25189E #919E18
analogous
#184E9E #25189E #68189E
triadic
#25189E #9E2518 #189E25
tetradic
#25189E #9E184E #919E18 #189E68
square
#25189E #9E184E #919E18 #189E68
split-complementary
#25189E #9E6818 #4E9E18
monochromatic
#0C0834 #191069 #25189E #3120D3 #5B4DE4
Accessibility & contrast
On white
12.33
#25189E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#25189E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25189E
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25189E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25189E | 1.00 | 12.33 | 1.70 | 12.33 |
| #FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #25189e; /* rgb */ color: rgb(37, 24, 158); /* oklch */ color: oklch(34.9% 0.198 273.4);
Tailwind
colors: {
custom: {
50: '#765abc',
500: '#25189e',
950: '#000000',
},
}SCSS
$custom: #25189e; $custom-light: #765abc; $custom-dark: #000000;
JSON
{
"hex": "#25189e",
"rgb": {
"r": 37,
"g": 24,
"b": 158
},
"hsl": {
"h": 245.821,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.34913,
"c": 0.19798,
"h": 273.4
},
"luminance": 0.03515
}Semantic roles & 50–950 ramp
primary
#25189E
secondary
#BAC64C
accent
#F038DE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981