#25308F#25308F
#25308F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.155 H 271.2°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #25308F |
|---|---|
| RGB | rgb(37, 48, 143) |
| HSL | hsl(234, 59%, 35%) |
| HSV | hsv(234, 74%, 56%) |
| CMYK | cmyk(74.1%, 66.4%, 0%, 43.9%) |
| CIE-LAB | lab(25.23, 29.62, -53.77) |
| CIE-LCH | lch(25.23, 61.39, 298.84°) |
| OKLab | oklab(36.73% 0.0032 -0.1554) |
| OKLCH | oklch(36.73% 0.155 271.2) |
| XYZ | xyz(6.7761, 4.4897, 26.4908) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.39
Blueberry
#464196
ΔE00 6.11
Darkslateblue
#483D8B
ΔE00 6.22
Royal
#0C1793
ΔE00 6.42
Midnight Blue
#191970
ΔE00 7.22
Indigo Blue
#3A18B1
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25308F #8F8425
analogous
#25658F #25308F #4F258F
triadic
#25308F #8F2530 #308F25
tetradic
#25308F #8F2565 #8F8425 #258F4F
square
#25308F #8F2565 #8F8425 #258F4F
split-complementary
#25308F #8F4F25 #658F25
monochromatic
#0C0F2E #18205E #25308F #3240C0 #5A67D4
Accessibility & contrast
On white
11.06
#25308F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#25308F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25308F
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25308F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25308F | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #25308f; /* rgb */ color: rgb(37, 48, 143); /* oklch */ color: oklch(36.7% 0.155 271.2);
Tailwind
colors: {
custom: {
50: '#7068b1',
500: '#25308f',
950: '#000000',
},
}SCSS
$custom: #25308f; $custom-light: #7068b1; $custom-dark: #000000;
JSON
{
"hex": "#25308f",
"rgb": {
"r": 37,
"g": 48,
"b": 143
},
"hsl": {
"h": 233.774,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.36731,
"c": 0.15545,
"h": 271.2
},
"luminance": 0.0449
}Semantic roles & 50–950 ramp
primary
#25308F
secondary
#B9AF57
accent
#D246E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80