#2D2CA9#2D2CA9
#2D2CA9 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.192 H 273.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2CA9 |
|---|---|
| RGB | rgb(45, 44, 169) |
| HSL | hsl(240, 59%, 42%) |
| HSV | hsv(240, 74%, 66%) |
| CMYK | cmyk(73.4%, 74%, 0%, 33.7%) |
| CIE-LAB | lab(27.36, 42.19, -66.12) |
| CIE-LCH | lch(27.36, 78.43, 302.54°) |
| OKLab | oklab(39.17% 0.0115 -0.1913) |
| OKLCH | oklch(39.17% 0.192 273.4) |
| XYZ | xyz(9.1419, 5.2229, 38.0548) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.74
Indigo Blue
#3A18B1
ΔE00 4.32
Royal
#0C1793
ΔE00 5.92
True Blue
#010FCC
ΔE00 5.97
Cobalt Blue
#030AA7
ΔE00 6.34
Ultramarine
#2000B1
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2CA9 #A8A92C
analogous
#2C6AA9 #2D2CA9 #6C2CA9
triadic
#2D2CA9 #A92D2C #2CA92D
tetradic
#2D2CA9 #A92C6A #A8A92C #2CA96C
square
#2D2CA9 #A92C6A #A8A92C #2CA96C
split-complementary
#2D2CA9 #A96C2C #6AA92C
monochromatic
#131348 #201F78 #2D2CA9 #4544CE #7574DB
Accessibility & contrast
On white
10.27
#2D2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2D2CA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2CA9
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2CA9 | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2d2ca9; /* rgb */ color: rgb(45, 44, 169); /* oklch */ color: oklch(39.2% 0.192 273.4);
Tailwind
colors: {
custom: {
50: '#7a67c4',
500: '#2d2ca9',
950: '#000000',
},
}SCSS
$custom: #2d2ca9; $custom-light: #7a67c4; $custom-dark: #000000;
JSON
{
"hex": "#2d2ca9",
"rgb": {
"r": 45,
"g": 44,
"b": 169
},
"hsl": {
"h": 240.48,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.39172,
"c": 0.19162,
"h": 273.4
},
"luminance": 0.05224
}Semantic roles & 50–950 ramp
primary
#2D2CA9
secondary
#C2C36E
accent
#E246E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82