#2D2C99#2D2C99
#2D2C99 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.171 H 274.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2C99 |
|---|---|
| RGB | rgb(45, 44, 153) |
| HSL | hsl(241, 55%, 39%) |
| HSV | hsv(241, 71%, 60%) |
| CMYK | cmyk(70.6%, 71.2%, 0%, 40%) |
| CIE-LAB | lab(25.74, 36.73, -59.07) |
| CIE-LCH | lch(25.74, 69.56, 301.87°) |
| OKLab | oklab(37.53% 0.0142 -0.1707) |
| OKLCH | oklch(37.53% 0.171 274.7) |
| XYZ | xyz(7.7307, 4.6584, 30.6226) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.33
Royal
#0C1793
ΔE00 5.20
Indigo Blue
#3A18B1
ΔE00 5.59
Blueberry
#464196
ΔE00 6.53
Darkslateblue
#483D8B
ΔE00 6.66
Cobalt Blue
#030AA7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2C99 #98992C
analogous
#2C6199 #2D2C99 #632C99
triadic
#2D2C99 #992D2C #2C992D
tetradic
#2D2C99 #992C61 #98992C #2C9963
square
#2D2C99 #992C61 #98992C #2C9963
split-complementary
#2D2C99 #99632C #61992C
monochromatic
#11113A #1F1E69 #2D2C99 #3D3BC7 #6C6BD4
Accessibility & contrast
On white
10.87
#2D2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2D2C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2C99
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2C99 | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2d2c99; /* rgb */ color: rgb(45, 44, 153); /* oklch */ color: oklch(37.5% 0.171 274.7);
Tailwind
colors: {
custom: {
50: '#7666b8',
500: '#2d2c99',
950: '#000000',
},
}SCSS
$custom: #2d2c99; $custom-light: #7666b8; $custom-dark: #000000;
JSON
{
"hex": "#2d2c99",
"rgb": {
"r": 45,
"g": 44,
"b": 153
},
"hsl": {
"h": 240.55,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.37525,
"c": 0.17132,
"h": 274.7
},
"luminance": 0.04659
}Semantic roles & 50–950 ramp
primary
#2D2C99
secondary
#BABB66
accent
#DF49DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80