#251C8F#251C8F
#251C8F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.177 H 274.6°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).
Color values
| HEX | #251C8F |
|---|---|
| RGB | rgb(37, 28, 143) |
| HSL | hsl(245, 67%, 34%) |
| HSV | hsv(245, 80%, 56%) |
| CMYK | cmyk(74.1%, 80.4%, 0%, 43.9%) |
| CIE-LAB | lab(20.85, 41.72, -60.98) |
| CIE-LCH | lch(20.85, 73.88, 304.38°) |
| OKLab | oklab(33.6% 0.0143 -0.1764) |
| OKLCH | oklch(33.6% 0.177 274.6) |
| XYZ | xyz(6.1345, 3.2064, 26.2769) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.90
Cobalt Blue
#030AA7
ΔE00 4.21
Royal Blue (survey)
#0504AA
ΔE00 4.75
Darkblue
#00008B
ΔE00 4.87
Midnight Blue
#191970
ΔE00 4.97
Indigo (survey)
#380282
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251C8F #868F1C
analogous
#1C4C8F #251C8F #5E1C8F
triadic
#251C8F #8F251C #1C8F25
tetradic
#251C8F #8F1C4C #868F1C #1C8F5E
square
#251C8F #8F1C4C #868F1C #1C8F5E
split-complementary
#251C8F #8F5E1C #4C8F1C
monochromatic
#0B0829 #18125C #251C8F #3226C2 #554ADC
Accessibility & contrast
On white
12.79
#251C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#251C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251C8F
12.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251C8F | 1.00 | 12.79 | 1.64 | 12.79 |
| #FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #251c8f; /* rgb */ color: rgb(37, 28, 143); /* oklch */ color: oklch(33.6% 0.177 274.6);
Tailwind
colors: {
custom: {
50: '#725bb1',
500: '#251c8f',
950: '#000000',
},
}SCSS
$custom: #251c8f; $custom-light: #725bb1; $custom-dark: #000000;
JSON
{
"hex": "#251c8f",
"rgb": {
"r": 37,
"g": 28,
"b": 143
},
"hsl": {
"h": 244.696,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.33598,
"c": 0.17694,
"h": 274.6
},
"luminance": 0.03207
}Semantic roles & 50–950 ramp
primary
#251C8F
secondary
#B4BE49
accent
#EA3EDD
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980