#25299E#25299E
#25299E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.183 H 271.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #25299E |
|---|---|
| RGB | rgb(37, 41, 158) |
| HSL | hsl(238, 62%, 38%) |
| HSV | hsv(238, 77%, 62%) |
| CMYK | cmyk(76.6%, 74.1%, 0%, 38%) |
| CIE-LAB | lab(25.10, 39.44, -63.20) |
| CIE-LCH | lch(25.10, 74.50, 301.97°) |
| OKLab | oklab(37.09% 0.0054 -0.1829) |
| OKLCH | oklch(37.09% 0.183 271.7) |
| XYZ | xyz(7.7254, 4.4470, 32.7923) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.46
Sapphire (survey)
#2138AB
ΔE00 4.46
Indigo Blue
#3A18B1
ΔE00 4.95
Cobalt Blue
#030AA7
ΔE00 5.70
Royal Blue (survey)
#0504AA
ΔE00 6.22
Ultramarine
#2000B1
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25299E #9E9A25
analogous
#25659E #25299E #5E259E
triadic
#25299E #9E2529 #299E25
tetradic
#25299E #9E2565 #9E9A25 #259E5E
square
#25299E #9E2565 #9E9A25 #259E5E
split-complementary
#25299E #9E5E25 #659E25
monochromatic
#0E0F3B #191C6C #25299E #3137CF #6367DA
Accessibility & contrast
On white
11.11
#25299E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#25299E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25299E
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25299E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25299E | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #25299e; /* rgb */ color: rgb(37, 41, 158); /* oklch */ color: oklch(37.1% 0.183 271.7);
Tailwind
colors: {
custom: {
50: '#7464bc',
500: '#25299e',
950: '#000000',
},
}SCSS
$custom: #25299e; $custom-light: #7464bc; $custom-dark: #000000;
JSON
{
"hex": "#25299e",
"rgb": {
"r": 37,
"g": 41,
"b": 158
},
"hsl": {
"h": 238.017,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.37087,
"c": 0.18303,
"h": 271.7
},
"luminance": 0.04448
}Semantic roles & 50–950 ramp
primary
#25299E
secondary
#C0BD5F
accent
#E043E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81