#2D1D9C#2D1D9C
#2D1D9C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.8% C 0.190 H 276.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2D1D9C |
|---|---|
| RGB | rgb(45, 29, 156) |
| HSL | hsl(248, 69%, 36%) |
| HSV | hsv(248, 81%, 61%) |
| CMYK | cmyk(71.2%, 81.4%, 0%, 38.8%) |
| CIE-LAB | lab(23.12, 46.02, -65.23) |
| CIE-LCH | lch(23.12, 79.83, 305.20°) |
| OKLab | oklab(35.77% 0.0215 -0.1885) |
| OKLCH | oklch(35.77% 0.19 276.5) |
| XYZ | xyz(7.5203, 3.8362, 31.7902) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.01
Indigo Blue
#3A18B1
ΔE00 3.32
Cobalt Blue
#030AA7
ΔE00 3.61
Royal Blue (survey)
#0504AA
ΔE00 4.04
Ultramarine
#2000B1
ΔE00 4.14
Indigo (survey)
#380282
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D1D9C #8C9C1D
analogous
#1D4D9C #2D1D9C #6D1D9C
triadic
#2D1D9C #9C2D1D #1D9C2D
tetradic
#2D1D9C #9C1D4D #8C9C1D #1D9C6D
square
#2D1D9C #9C1D4D #8C9C1D #1D9C6D
split-complementary
#2D1D9C #9C6D1D #4D9C1D
monochromatic
#0F0A35 #1E1368 #2D1D9C #3C27D0 #6654DF
Accessibility & contrast
On white
11.88
#2D1D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2D1D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D1D9C
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D1D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D1D9C | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2d1d9c; /* rgb */ color: rgb(45, 29, 156); /* oklch */ color: oklch(35.8% 0.190 276.5);
Tailwind
colors: {
custom: {
50: '#785dbb',
500: '#2d1d9c',
950: '#000000',
},
}SCSS
$custom: #2d1d9c; $custom-light: #785dbb; $custom-dark: #000000;
JSON
{
"hex": "#2d1d9c",
"rgb": {
"r": 45,
"g": 29,
"b": 156
},
"hsl": {
"h": 247.559,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.35772,
"c": 0.18975,
"h": 276.5
},
"luminance": 0.03837
}Semantic roles & 50–950 ramp
primary
#2D1D9C
secondary
#B4C252
accent
#EB3CD5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981