#25229E#25229E
#25229E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.190 H 272.5°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).
Color values
| HEX | #25229E |
|---|---|
| RGB | rgb(37, 34, 158) |
| HSL | hsl(241, 65%, 38%) |
| HSV | hsv(241, 78%, 62%) |
| CMYK | cmyk(76.6%, 78.5%, 0%, 38%) |
| CIE-LAB | lab(23.69, 43.43, -65.53) |
| CIE-LCH | lch(23.69, 78.62, 303.53°) |
| OKLab | oklab(36.09% 0.0084 -0.1897) |
| OKLCH | oklch(36.09% 0.19 272.5) |
| XYZ | xyz(7.5045, 4.0052, 32.7187) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.15
Indigo Blue
#3A18B1
ΔE00 3.92
Cobalt Blue
#030AA7
ΔE00 4.13
Royal Blue (survey)
#0504AA
ΔE00 4.64
Ultramarine
#2000B1
ΔE00 4.89
True Blue
#010FCC
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25229E #9B9E22
analogous
#225D9E #25229E #63229E
triadic
#25229E #9E2522 #229E25
tetradic
#25229E #9E225D #9B9E22 #229E63
square
#25229E #9E225D #9B9E22 #229E63
split-complementary
#25229E #9E6322 #5D9E22
monochromatic
#0D0C39 #19176C #25229E #312DD0 #615EDC
Accessibility & contrast
On white
11.66
#25229E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#25229E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25229E
11.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25229E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25229E | 1.00 | 11.66 | 1.80 | 11.66 |
| #FFFFFF | 11.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #25229e; /* rgb */ color: rgb(37, 34, 158); /* oklch */ color: oklch(36.1% 0.190 272.5);
Tailwind
colors: {
custom: {
50: '#7560bc',
500: '#25229e',
950: '#000000',
},
}SCSS
$custom: #25229e; $custom-light: #7560bc; $custom-dark: #000000;
JSON
{
"hex": "#25229e",
"rgb": {
"r": 37,
"g": 34,
"b": 158
},
"hsl": {
"h": 241.452,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.3609,
"c": 0.18985,
"h": 272.5
},
"luminance": 0.04006
}Semantic roles & 50–950 ramp
primary
#25229E
secondary
#BFC15B
accent
#E840E4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981