#25308E#25308E
#25308E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.154 H 271.2°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #25308E |
|---|---|
| RGB | rgb(37, 48, 142) |
| HSL | hsl(234, 59%, 35%) |
| HSV | hsv(234, 74%, 56%) |
| CMYK | cmyk(73.9%, 66.2%, 0%, 44.3%) |
| CIE-LAB | lab(25.14, 29.24, -53.30) |
| CIE-LCH | lch(25.14, 60.80, 298.75°) |
| OKLab | oklab(36.64% 0.0033 -0.154) |
| OKLCH | oklch(36.64% 0.154 271.2) |
| XYZ | xyz(6.7007, 4.4595, 26.0936) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.52
Blueberry
#464196
ΔE00 6.13
Darkslateblue
#483D8B
ΔE00 6.20
Royal
#0C1793
ΔE00 6.47
Midnight Blue
#191970
ΔE00 7.15
Indigo Blue
#3A18B1
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25308E #8E8325
analogous
#25658E #25308E #4E258E
triadic
#25308E #8E2530 #308E25
tetradic
#25308E #8E2565 #8E8325 #258E4E
square
#25308E #8E2565 #8E8325 #258E4E
split-complementary
#25308E #8E4E25 #658E25
monochromatic
#0C0F2D #18205D #25308E #3240BF #5A66D4
Accessibility & contrast
On white
11.10
#25308E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#25308E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25308E
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25308E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25308E | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #25308e; /* rgb */ color: rgb(37, 48, 142); /* oklch */ color: oklch(36.6% 0.154 271.2);
Tailwind
colors: {
custom: {
50: '#7068b0',
500: '#25308e',
950: '#000000',
},
}SCSS
$custom: #25308e; $custom-light: #7068b0; $custom-dark: #000000;
JSON
{
"hex": "#25308e",
"rgb": {
"r": 37,
"g": 48,
"b": 142
},
"hsl": {
"h": 233.714,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.36635,
"c": 0.15408,
"h": 271.2
},
"luminance": 0.0446
}Semantic roles & 50–950 ramp
primary
#25308E
secondary
#B9AE56
accent
#D246E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80