#25308C#25308C
#25308C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.151 H 271.3°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #25308C |
|---|---|
| RGB | rgb(37, 48, 140) |
| HSL | hsl(234, 58%, 35%) |
| HSV | hsv(234, 74%, 55%) |
| CMYK | cmyk(73.6%, 65.7%, 0%, 45.1%) |
| CIE-LAB | lab(24.95, 28.49, -52.37) |
| CIE-LCH | lch(24.95, 59.62, 298.55°) |
| OKLab | oklab(36.44% 0.0034 -0.1513) |
| OKLCH | oklch(36.44% 0.151 271.3) |
| XYZ | xyz(6.5519, 4.4000, 25.3098) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.78
Darkslateblue
#483D8B
ΔE00 6.16
Blueberry
#464196
ΔE00 6.17
Royal
#0C1793
ΔE00 6.59
Midnight Blue
#191970
ΔE00 7.02
Indigo Blue
#3A18B1
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25308C #8C8125
analogous
#25648C #25308C #4D258C
triadic
#25308C #8C2530 #308C25
tetradic
#25308C #8C2564 #8C8125 #258C4D
square
#25308C #8C2564 #8C8125 #258C4D
split-complementary
#25308C #8C4D25 #648C25
monochromatic
#0B0F2B #181F5C #25308C #3241BC #5866D3
Accessibility & contrast
On white
11.17
#25308C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#25308C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25308C
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25308C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25308C | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #25308c; /* rgb */ color: rgb(37, 48, 140); /* oklch */ color: oklch(36.4% 0.151 271.3);
Tailwind
colors: {
custom: {
50: '#6f68ae',
500: '#25308c',
950: '#000000',
},
}SCSS
$custom: #25308c; $custom-light: #6f68ae; $custom-dark: #000000;
JSON
{
"hex": "#25308c",
"rgb": {
"r": 37,
"g": 48,
"b": 140
},
"hsl": {
"h": 233.592,
"s": 58.192,
"l": 34.706
},
"oklch": {
"l": 0.36444,
"c": 0.15133,
"h": 271.3
},
"luminance": 0.04401
}Semantic roles & 50–950 ramp
primary
#25308C
secondary
#B8AD55
accent
#D146E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F