#2D219C#2D219C
#2D219C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.186 H 276.1°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2D219C |
|---|---|
| RGB | rgb(45, 33, 156) |
| HSL | hsl(246, 65%, 37%) |
| HSV | hsv(246, 79%, 61%) |
| CMYK | cmyk(71.2%, 78.8%, 0%, 38.8%) |
| CIE-LAB | lab(23.82, 44.00, -64.07) |
| CIE-LCH | lch(23.82, 77.73, 304.48°) |
| OKLab | oklab(36.26% 0.0197 -0.1852) |
| OKLCH | oklch(36.26% 0.186 276.1) |
| XYZ | xyz(7.6248, 4.0452, 31.8250) |
| Luminance | 0.0405 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.35
Indigo Blue
#3A18B1
ΔE00 3.57
Cobalt Blue
#030AA7
ΔE00 4.24
Royal Blue (survey)
#0504AA
ΔE00 4.70
Ultramarine
#2000B1
ΔE00 4.79
True Blue
#010FCC
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D219C #909C21
analogous
#21529C #2D219C #6B219C
triadic
#2D219C #9C2D21 #219C2D
tetradic
#2D219C #9C2152 #909C21 #219C6B
square
#2D219C #9C2152 #909C21 #219C6B
split-complementary
#2D219C #9C6B21 #529C21
monochromatic
#100C37 #1E1669 #2D219C #3C2CCF #685BDC
Accessibility & contrast
On white
11.61
#2D219C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2D219C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D219C
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D219C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D219C | 1.00 | 11.61 | 1.81 | 11.61 |
| #FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2d219c; /* rgb */ color: rgb(45, 33, 156); /* oklch */ color: oklch(36.3% 0.186 276.1);
Tailwind
colors: {
custom: {
50: '#785fba',
500: '#2d219c',
950: '#000000',
},
}SCSS
$custom: #2d219c; $custom-light: #785fba; $custom-dark: #000000;
JSON
{
"hex": "#2d219c",
"rgb": {
"r": 45,
"g": 33,
"b": 156
},
"hsl": {
"h": 245.854,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.36259,
"c": 0.18627,
"h": 276.1
},
"luminance": 0.04046
}Semantic roles & 50–950 ramp
primary
#2D219C
secondary
#B6C158
accent
#E840D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981