#2D2CAB#2D2CAB
#2D2CAB is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.194 H 273.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2CAB |
|---|---|
| RGB | rgb(45, 44, 171) |
| HSL | hsl(240, 59%, 42%) |
| HSV | hsv(240, 74%, 67%) |
| CMYK | cmyk(73.7%, 74.3%, 0%, 32.9%) |
| CIE-LAB | lab(27.57, 42.86, -66.98) |
| CIE-LCH | lch(27.57, 79.52, 302.62°) |
| OKLab | oklab(39.38% 0.0111 -0.1938) |
| OKLCH | oklch(39.38% 0.194 273.3) |
| XYZ | xyz(9.3311, 5.2986, 39.0511) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.75
Indigo Blue
#3A18B1
ΔE00 4.23
True Blue
#010FCC
ΔE00 5.79
Royal
#0C1793
ΔE00 6.07
Cobalt Blue
#030AA7
ΔE00 6.37
Ultramarine
#2000B1
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2CAB #AAAB2C
analogous
#2C6BAB #2D2CAB #6C2CAB
triadic
#2D2CAB #AB2D2C #2CAB2D
tetradic
#2D2CAB #AB2C6B #AAAB2C #2CAB6C
square
#2D2CAB #AB2C6B #AAAB2C #2CAB6C
split-complementary
#2D2CAB #AB6C2C #6BAB2C
monochromatic
#13134A #201F7A #2D2CAB #4645CF #7776DC
Accessibility & contrast
On white
10.19
#2D2CAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2D2CAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2CAB
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2CAB | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003BA9
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2d2cab; /* rgb */ color: rgb(45, 44, 171); /* oklch */ color: oklch(39.4% 0.194 273.3);
Tailwind
colors: {
custom: {
50: '#7a67c5',
500: '#2d2cab',
950: '#000000',
},
}SCSS
$custom: #2d2cab; $custom-light: #7a67c5; $custom-dark: #000000;
JSON
{
"hex": "#2d2cab",
"rgb": {
"r": 45,
"g": 44,
"b": 171
},
"hsl": {
"h": 240.472,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.39382,
"c": 0.1941,
"h": 273.3
},
"luminance": 0.053
}Semantic roles & 50–950 ramp
primary
#2D2CAB
secondary
#C3C36F
accent
#E246E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82