#25308B#25308B
#25308B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.150 H 271.3°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #25308B |
|---|---|
| RGB | rgb(37, 48, 139) |
| HSL | hsl(234, 58%, 35%) |
| HSV | hsv(234, 73%, 55%) |
| CMYK | cmyk(73.4%, 65.5%, 0%, 45.5%) |
| CIE-LAB | lab(24.86, 28.12, -51.89) |
| CIE-LCH | lch(24.86, 59.02, 298.45°) |
| OKLab | oklab(36.35% 0.0035 -0.1499) |
| OKLCH | oklch(36.35% 0.15 271.3) |
| XYZ | xyz(6.4785, 4.3706, 24.9233) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.92
Darkslateblue
#483D8B
ΔE00 6.15
Blueberry
#464196
ΔE00 6.19
Royal
#0C1793
ΔE00 6.65
Midnight Blue
#191970
ΔE00 6.96
Marine
#042E60
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25308B #8B8025
analogous
#25638B #25308B #4D258B
triadic
#25308B #8B2530 #308B25
tetradic
#25308B #8B2563 #8B8025 #258B4D
square
#25308B #8B2563 #8B8025 #258B4D
split-complementary
#25308B #8B4D25 #638B25
monochromatic
#0B0F2A #181F5B #25308B #3241BB #5865D3
Accessibility & contrast
On white
11.20
#25308B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#25308B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25308B
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25308B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25308B | 1.00 | 11.20 | 1.87 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #25308b; /* rgb */ color: rgb(37, 48, 139); /* oklch */ color: oklch(36.3% 0.150 271.3);
Tailwind
colors: {
custom: {
50: '#6f68ae',
500: '#25308b',
950: '#000000',
},
}SCSS
$custom: #25308b; $custom-light: #6f68ae; $custom-dark: #000000;
JSON
{
"hex": "#25308b",
"rgb": {
"r": 37,
"g": 48,
"b": 139
},
"hsl": {
"h": 233.529,
"s": 57.955,
"l": 34.51
},
"oklch": {
"l": 0.36349,
"c": 0.14995,
"h": 271.3
},
"luminance": 0.04371
}Semantic roles & 50–950 ramp
primary
#25308B
secondary
#B7AC55
accent
#D147E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F