#25318F#25318F
#25318F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.154 H 270.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #25318F |
|---|---|
| RGB | rgb(37, 49, 143) |
| HSL | hsl(233, 59%, 35%) |
| HSV | hsv(233, 74%, 56%) |
| CMYK | cmyk(74.1%, 65.7%, 0%, 43.9%) |
| CIE-LAB | lab(25.48, 28.95, -53.36) |
| CIE-LCH | lch(25.48, 60.71, 298.48°) |
| OKLab | oklab(36.92% 0.0025 -0.1542) |
| OKLCH | oklch(36.92% 0.154 270.9) |
| XYZ | xyz(6.8175, 4.5724, 26.5045) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.28
Blueberry
#464196
ΔE00 5.95
Darkslateblue
#483D8B
ΔE00 6.12
Royal
#0C1793
ΔE00 6.72
Midnight Blue
#191970
ΔE00 7.45
Indigo Blue
#3A18B1
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25318F #8F8325
analogous
#25668F #25318F #4E258F
triadic
#25318F #8F2531 #318F25
tetradic
#25318F #8F2566 #8F8325 #258F4E
square
#25318F #8F2566 #8F8325 #258F4E
split-complementary
#25318F #8F4E25 #668F25
monochromatic
#0C102E #18205E #25318F #3242C0 #5A68D4
Accessibility & contrast
On white
10.97
#25318F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#25318F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25318F
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25318F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25318F | 1.00 | 10.97 | 1.91 | 10.97 |
| #FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #25318f; /* rgb */ color: rgb(37, 49, 143); /* oklch */ color: oklch(36.9% 0.154 270.9);
Tailwind
colors: {
custom: {
50: '#7069b1',
500: '#25318f',
950: '#000000',
},
}SCSS
$custom: #25318f; $custom-light: #7069b1; $custom-dark: #000000;
JSON
{
"hex": "#25318f",
"rgb": {
"r": 37,
"g": 49,
"b": 143
},
"hsl": {
"h": 233.208,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.36916,
"c": 0.15422,
"h": 270.9
},
"luminance": 0.04573
}Semantic roles & 50–950 ramp
primary
#25318F
secondary
#B9AE57
accent
#D046E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80