#25299F#25299F
#25299F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.184 H 271.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #25299F |
|---|---|
| RGB | rgb(37, 41, 159) |
| HSL | hsl(238, 62%, 38%) |
| HSV | hsv(238, 77%, 62%) |
| CMYK | cmyk(76.7%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(25.20, 39.79, -63.64) |
| CIE-LCH | lch(25.20, 75.05, 302.02°) |
| OKLab | oklab(37.2% 0.0053 -0.1842) |
| OKLCH | oklch(37.2% 0.184 271.6) |
| XYZ | xyz(7.8118, 4.4816, 33.2475) |
| Luminance | 0.0448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.41
Royal
#0C1793
ΔE00 4.50
Indigo Blue
#3A18B1
ΔE00 4.86
Cobalt Blue
#030AA7
ΔE00 5.66
Royal Blue (survey)
#0504AA
ΔE00 6.18
Ultramarine
#2000B1
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25299F #9F9B25
analogous
#25669F #25299F #5E259F
triadic
#25299F #9F2529 #299F25
tetradic
#25299F #9F2566 #9F9B25 #259F5E
square
#25299F #9F2566 #9F9B25 #259F5E
split-complementary
#25299F #9F5E25 #669F25
monochromatic
#0E0F3C #191C6D #25299F #3237CF #6467DB
Accessibility & contrast
On white
11.07
#25299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#25299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25299F
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25299F | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #25299f; /* rgb */ color: rgb(37, 41, 159); /* oklch */ color: oklch(37.2% 0.184 271.6);
Tailwind
colors: {
custom: {
50: '#7564bd',
500: '#25299f',
950: '#000000',
},
}SCSS
$custom: #25299f; $custom-light: #7564bd; $custom-dark: #000000;
JSON
{
"hex": "#25299f",
"rgb": {
"r": 37,
"g": 41,
"b": 159
},
"hsl": {
"h": 238.033,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.37195,
"c": 0.1843,
"h": 271.6
},
"luminance": 0.04482
}Semantic roles & 50–950 ramp
primary
#25299F
secondary
#C0BD5F
accent
#E042E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81