#2D1CA4#2D1CA4
#2D1CA4 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.6% C 0.200 H 275.6°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2D1CA4 |
|---|---|
| RGB | rgb(45, 28, 164) |
| HSL | hsl(248, 71%, 38%) |
| HSV | hsv(248, 83%, 64%) |
| CMYK | cmyk(72.6%, 82.9%, 0%, 35.7%) |
| CIE-LAB | lab(23.89, 48.94, -68.83) |
| CIE-LCH | lch(23.89, 84.45, 305.41°) |
| OKLab | oklab(36.58% 0.0196 -0.199) |
| OKLCH | oklch(36.58% 0.2 275.6) |
| XYZ | xyz(8.1961, 4.0679, 35.4680) |
| Luminance | 0.0407 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.34
Cobalt Blue
#030AA7
ΔE00 3.31
Ultramarine
#2000B1
ΔE00 3.45
Royal
#0C1793
ΔE00 3.64
Royal Blue (survey)
#0504AA
ΔE00 3.65
True Blue
#010FCC
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D1CA4 #93A41C
analogous
#1C4FA4 #2D1CA4 #711CA4
triadic
#2D1CA4 #A42D1C #1CA42D
tetradic
#2D1CA4 #A41C4F #93A41C #1CA471
square
#2D1CA4 #A41C4F #93A41C #1CA471
split-complementary
#2D1CA4 #A4711C #4FA41C
monochromatic
#100A3B #1F1370 #2D1CA4 #3B25D8 #6958E2
Accessibility & contrast
On white
11.58
#2D1CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2D1CA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D1CA4
11.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D1CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D1CA4 | 1.00 | 11.58 | 1.81 | 11.58 |
| #FFFFFF | 11.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA8
Deuteranopia (green-blind)
#0033A2
Tritanopia (blue-blind)
#004762
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2d1ca4; /* rgb */ color: rgb(45, 28, 164); /* oklch */ color: oklch(36.6% 0.200 275.6);
Tailwind
colors: {
custom: {
50: '#7a5dc0',
500: '#2d1ca4',
950: '#000000',
},
}SCSS
$custom: #2d1ca4; $custom-light: #7a5dc0; $custom-dark: #000000;
JSON
{
"hex": "#2d1ca4",
"rgb": {
"r": 45,
"g": 28,
"b": 164
},
"hsl": {
"h": 247.5,
"s": 70.833,
"l": 37.647
},
"oklch": {
"l": 0.36579,
"c": 0.19993,
"h": 275.6
},
"luminance": 0.04069
}Semantic roles & 50–950 ramp
primary
#2D1CA4
secondary
#B8C656
accent
#EE3AD7
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0412
muted
#7C7981