#25318C#25318C
#25318C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.150 H 271.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #25318C |
|---|---|
| RGB | rgb(37, 49, 140) |
| HSL | hsl(233, 58%, 35%) |
| HSV | hsv(233, 74%, 55%) |
| CMYK | cmyk(73.6%, 65%, 0%, 45.1%) |
| CIE-LAB | lab(25.21, 27.83, -51.95) |
| CIE-LCH | lch(25.21, 58.93, 298.18°) |
| OKLab | oklab(36.63% 0.0027 -0.1501) |
| OKLCH | oklch(36.63% 0.15 271) |
| XYZ | xyz(6.5933, 4.4827, 25.3236) |
| Luminance | 0.0448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.69
Blueberry
#464196
ΔE00 6.01
Darkslateblue
#483D8B
ΔE00 6.06
Royal
#0C1793
ΔE00 6.89
Midnight Blue
#191970
ΔE00 7.27
Marine
#042E60
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25318C #8C8025
analogous
#25648C #25318C #4D258C
triadic
#25318C #8C2531 #318C25
tetradic
#25318C #8C2564 #8C8025 #258C4D
square
#25318C #8C2564 #8C8025 #258C4D
split-complementary
#25318C #8C4D25 #648C25
monochromatic
#0B0F2B #18205C #25318C #3242BC #5867D3
Accessibility & contrast
On white
11.07
#25318C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#25318C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25318C
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25318C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25318C | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #25318c; /* rgb */ color: rgb(37, 49, 140); /* oklch */ color: oklch(36.6% 0.150 271.0);
Tailwind
colors: {
custom: {
50: '#6f69ae',
500: '#25318c',
950: '#000000',
},
}SCSS
$custom: #25318c; $custom-light: #6f69ae; $custom-dark: #000000;
JSON
{
"hex": "#25318c",
"rgb": {
"r": 37,
"g": 49,
"b": 140
},
"hsl": {
"h": 233.01,
"s": 58.192,
"l": 34.706
},
"oklch": {
"l": 0.36631,
"c": 0.15008,
"h": 271
},
"luminance": 0.04483
}Semantic roles & 50–950 ramp
primary
#25318C
secondary
#B8AC55
accent
#CF46E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F