#25219E#25219E
#25219E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.191 H 272.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #25219E |
|---|---|
| RGB | rgb(37, 33, 158) |
| HSL | hsl(242, 65%, 37%) |
| HSV | hsv(242, 79%, 62%) |
| CMYK | cmyk(76.6%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(23.50, 43.97, -65.84) |
| CIE-LCH | lch(23.50, 79.17, 303.73°) |
| OKLab | oklab(35.96% 0.0088 -0.1905) |
| OKLCH | oklch(35.96% 0.191 272.6) |
| XYZ | xyz(7.4763, 3.9489, 32.7093) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.01
Indigo Blue
#3A18B1
ΔE00 3.82
Cobalt Blue
#030AA7
ΔE00 3.93
Royal Blue (survey)
#0504AA
ΔE00 4.44
Ultramarine
#2000B1
ΔE00 4.70
True Blue
#010FCC
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25219E #9A9E21
analogous
#215C9E #25219E #64219E
triadic
#25219E #9E2521 #219E25
tetradic
#25219E #9E215C #9A9E21 #219E64
square
#25219E #9E215C #9A9E21 #219E64
split-complementary
#25219E #9E6421 #5C9E21
monochromatic
#0D0C39 #19166B #25219E #312CD1 #605CDD
Accessibility & contrast
On white
11.73
#25219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#25219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25219E
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25219E | 1.00 | 11.73 | 1.79 | 11.73 |
| #FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #25219e; /* rgb */ color: rgb(37, 33, 158); /* oklch */ color: oklch(36.0% 0.191 272.6);
Tailwind
colors: {
custom: {
50: '#755fbc',
500: '#25219e',
950: '#000000',
},
}SCSS
$custom: #25219e; $custom-light: #755fbc; $custom-dark: #000000;
JSON
{
"hex": "#25219e",
"rgb": {
"r": 37,
"g": 33,
"b": 158
},
"hsl": {
"h": 241.92,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.35959,
"c": 0.19074,
"h": 272.6
},
"luminance": 0.0395
}Semantic roles & 50–950 ramp
primary
#25219E
secondary
#BEC159
accent
#E83FE3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981