#251CB3#251CB3
#251CB3 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.9% C 0.219 H 271.4°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).
Color values
| HEX | #251CB3 |
|---|---|
| RGB | rgb(37, 28, 179) |
| HSL | hsl(244, 73%, 41%) |
| HSV | hsv(244, 84%, 70%) |
| CMYK | cmyk(79.3%, 84.4%, 0%, 29.8%) |
| CIE-LAB | lab(25.19, 52.95, -75.73) |
| CIE-LCH | lch(25.19, 92.41, 304.96°) |
| OKLab | oklab(37.86% 0.0052 -0.2191) |
| OKLCH | oklch(37.86% 0.219 271.4) |
| XYZ | xyz(9.3121, 4.4774, 43.0125) |
| Luminance | 0.0448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.97
True Blue
#010FCC
ΔE00 3.09
Ultramarine
#2000B1
ΔE00 3.24
Cobalt Blue
#030AA7
ΔE00 3.64
Mediumblue
#0000CD
ΔE00 3.67
Royal Blue (survey)
#0504AA
ΔE00 3.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251CB3 #AAB31C
analogous
#1C5EB3 #251CB3 #701CB3
triadic
#251CB3 #B3251C #1CB325
tetradic
#251CB3 #B31C5E #AAB31C #1CB370
square
#251CB3 #B31C5E #AAB31C #1CB370
split-complementary
#251CB3 #B3701C #5EB31C
monochromatic
#0F0B49 #1A147E #251CB3 #382EDE #6B63E7
Accessibility & contrast
On white
11.08
#251CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#251CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251CB3
11.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251CB3 | 1.00 | 11.08 | 1.90 | 11.08 |
| #FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #251cb3; /* rgb */ color: rgb(37, 28, 179); /* oklch */ color: oklch(37.9% 0.219 271.4);
Tailwind
colors: {
custom: {
50: '#7b5ecb',
500: '#251cb3',
950: '#000000',
},
}SCSS
$custom: #251cb3; $custom-light: #7b5ecb; $custom-dark: #000000;
JSON
{
"hex": "#251cb3",
"rgb": {
"r": 37,
"g": 28,
"b": 179
},
"hsl": {
"h": 243.576,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.37857,
"c": 0.21916,
"h": 271.4
},
"luminance": 0.04478
}Semantic roles & 50–950 ramp
primary
#251CB3
secondary
#C5CB5F
accent
#F038E5
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982