#25227F#25227F
#25227F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.150 H 275.6°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).
Color values
| HEX | #25227F |
|---|---|
| RGB | rgb(37, 34, 127) |
| HSL | hsl(242, 58%, 32%) |
| HSV | hsv(242, 73%, 50%) |
| CMYK | cmyk(70.9%, 73.2%, 0%, 50.2%) |
| CIE-LAB | lab(20.32, 32.83, -51.81) |
| CIE-LCH | lch(20.32, 61.34, 302.36°) |
| OKLab | oklab(32.7% 0.0146 -0.1497) |
| OKLCH | oklch(32.7% 0.15 275.6) |
| XYZ | xyz(5.1645, 3.0692, 20.3948) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.12
Royal
#0C1793
ΔE00 4.26
Dark Royal Blue
#02066F
ΔE00 6.54
Indigo (survey)
#380282
ΔE00 6.55
Darkblue
#00008B
ΔE00 6.75
Navy
#000080
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25227F #7C7F22
analogous
#224E7F #25227F #54227F
triadic
#25227F #7F2522 #227F25
tetradic
#25227F #7F224E #7C7F22 #227F54
square
#25227F #7F224E #7C7F22 #227F54
split-complementary
#25227F #7F5422 #4E7F22
monochromatic
#09081E #17154F #25227F #332FAF #504CCF
Accessibility & contrast
On white
13.01
#25227F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#25227F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25227F
13.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25227F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25227F | 1.00 | 13.01 | 1.61 | 13.01 |
| #FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #25227f; /* rgb */ color: rgb(37, 34, 127); /* oklch */ color: oklch(32.7% 0.150 275.6);
Tailwind
colors: {
custom: {
50: '#6d5ea5',
500: '#25227f',
950: '#000000',
},
}SCSS
$custom: #25227f; $custom-light: #6d5ea5; $custom-dark: #000000;
JSON
{
"hex": "#25227f",
"rgb": {
"r": 37,
"g": 34,
"b": 127
},
"hsl": {
"h": 241.935,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.327,
"c": 0.15043,
"h": 275.6
},
"luminance": 0.0307
}Semantic roles & 50–950 ramp
primary
#25227F
secondary
#AEB24B
accent
#E147DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F