#2D2CAA#2D2CAA
#2D2CAA is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.193 H 273.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2CAA |
|---|---|
| RGB | rgb(45, 44, 170) |
| HSL | hsl(240, 59%, 42%) |
| HSV | hsv(240, 74%, 67%) |
| CMYK | cmyk(73.5%, 74.1%, 0%, 33.3%) |
| CIE-LAB | lab(27.46, 42.52, -66.55) |
| CIE-LCH | lch(27.46, 78.98, 302.58°) |
| OKLab | oklab(39.28% 0.0113 -0.1925) |
| OKLCH | oklch(39.28% 0.193 273.4) |
| XYZ | xyz(9.2361, 5.2606, 38.5511) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.75
Indigo Blue
#3A18B1
ΔE00 4.27
True Blue
#010FCC
ΔE00 5.88
Royal
#0C1793
ΔE00 5.99
Cobalt Blue
#030AA7
ΔE00 6.35
Ultramarine
#2000B1
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2CAA #A9AA2C
analogous
#2C6AAA #2D2CAA #6C2CAA
triadic
#2D2CAA #AA2D2C #2CAA2D
tetradic
#2D2CAA #AA2C6A #A9AA2C #2CAA6C
square
#2D2CAA #AA2C6A #A9AA2C #2CAA6C
split-complementary
#2D2CAA #AA6C2C #6AAA2C
monochromatic
#131349 #201F79 #2D2CAA #4644CF #7675DB
Accessibility & contrast
On white
10.23
#2D2CAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2D2CAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2CAA
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2CAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2CAA | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2d2caa; /* rgb */ color: rgb(45, 44, 170); /* oklch */ color: oklch(39.3% 0.193 273.4);
Tailwind
colors: {
custom: {
50: '#7a67c5',
500: '#2d2caa',
950: '#000000',
},
}SCSS
$custom: #2d2caa; $custom-light: #7a67c5; $custom-dark: #000000;
JSON
{
"hex": "#2d2caa",
"rgb": {
"r": 45,
"g": 44,
"b": 170
},
"hsl": {
"h": 240.476,
"s": 58.879,
"l": 41.961
},
"oklch": {
"l": 0.39277,
"c": 0.19286,
"h": 273.4
},
"luminance": 0.05262
}Semantic roles & 50–950 ramp
primary
#2D2CAA
secondary
#C2C36F
accent
#E246E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82