#25318A#25318A
#25318A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.147 H 271.1°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #25318A |
|---|---|
| RGB | rgb(37, 49, 138) |
| HSL | hsl(233, 58%, 34%) |
| HSV | hsv(233, 73%, 54%) |
| CMYK | cmyk(73.2%, 64.5%, 0%, 45.9%) |
| CIE-LAB | lab(25.03, 27.07, -51.00) |
| CIE-LCH | lch(25.03, 57.74, 297.96°) |
| OKLab | oklab(36.44% 0.0028 -0.1473) |
| OKLCH | oklch(36.44% 0.147 271.1) |
| XYZ | xyz(6.4471, 4.4243, 24.5540) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.97
Darkslateblue
#483D8B
ΔE00 6.05
Blueberry
#464196
ΔE00 6.07
Royal
#0C1793
ΔE00 7.03
Midnight Blue
#191970
ΔE00 7.17
Marine
#042E60
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25318A #8A7E25
analogous
#25648A #25318A #4C258A
triadic
#25318A #8A2531 #318A25
tetradic
#25318A #8A2564 #8A7E25 #258A4C
square
#25318A #8A2564 #8A7E25 #258A4C
split-complementary
#25318A #8A4C25 #648A25
monochromatic
#0B0F29 #18205A #25318A #3242BA #5766D2
Accessibility & contrast
On white
11.14
#25318A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#25318A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25318A
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25318A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25318A | 1.00 | 11.14 | 1.89 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #25318a; /* rgb */ color: rgb(37, 49, 138); /* oklch */ color: oklch(36.4% 0.147 271.1);
Tailwind
colors: {
custom: {
50: '#6f69ad',
500: '#25318a',
950: '#000000',
},
}SCSS
$custom: #25318a; $custom-light: #6f69ad; $custom-dark: #000000;
JSON
{
"hex": "#25318a",
"rgb": {
"r": 37,
"g": 49,
"b": 138
},
"hsl": {
"h": 232.871,
"s": 57.714,
"l": 34.314
},
"oklch": {
"l": 0.36443,
"c": 0.14731,
"h": 271.1
},
"luminance": 0.04425
}Semantic roles & 50–950 ramp
primary
#25318A
secondary
#B7AB54
accent
#CF47E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F