#2D2CA6#2D2CA6
#2D2CA6 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.188 H 273.7°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2CA6 |
|---|---|
| RGB | rgb(45, 44, 166) |
| HSL | hsl(240, 58%, 41%) |
| HSV | hsv(240, 73%, 65%) |
| CMYK | cmyk(72.9%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(27.05, 41.18, -64.82) |
| CIE-LCH | lch(27.05, 76.79, 302.43°) |
| OKLab | oklab(38.86% 0.012 -0.1875) |
| OKLCH | oklch(38.86% 0.188 273.7) |
| XYZ | xyz(8.8635, 5.1115, 36.5885) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.76
Indigo Blue
#3A18B1
ΔE00 4.48
Royal
#0C1793
ΔE00 5.72
True Blue
#010FCC
ΔE00 6.27
Cobalt Blue
#030AA7
ΔE00 6.34
Ultramarine
#2000B1
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2CA6 #A5A62C
analogous
#2C68A6 #2D2CA6 #6A2CA6
triadic
#2D2CA6 #A62D2C #2CA62D
tetradic
#2D2CA6 #A62C68 #A5A62C #2CA66A
square
#2D2CA6 #A62C68 #A5A62C #2CA66A
split-complementary
#2D2CA6 #A66A2C #68A62C
monochromatic
#131245 #201F76 #2D2CA6 #4342CD #7373DA
Accessibility & contrast
On white
10.38
#2D2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2D2CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2CA6
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2CA6 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2d2ca6; /* rgb */ color: rgb(45, 44, 166); /* oklch */ color: oklch(38.9% 0.188 273.7);
Tailwind
colors: {
custom: {
50: '#7967c2',
500: '#2d2ca6',
950: '#000000',
},
}SCSS
$custom: #2d2ca6; $custom-light: #7967c2; $custom-dark: #000000;
JSON
{
"hex": "#2d2ca6",
"rgb": {
"r": 45,
"g": 44,
"b": 166
},
"hsl": {
"h": 240.492,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.38858,
"c": 0.18788,
"h": 273.7
},
"luminance": 0.05112
}Semantic roles & 50–950 ramp
primary
#2D2CA6
secondary
#C1C16D
accent
#E146E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81