#2D2C97#2D2C97
#2D2C97 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.169 H 274.9°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2C97 |
|---|---|
| RGB | rgb(45, 44, 151) |
| HSL | hsl(241, 55%, 38%) |
| HSV | hsv(241, 71%, 59%) |
| CMYK | cmyk(70.2%, 70.9%, 0%, 40.8%) |
| CIE-LAB | lab(25.54, 36.03, -58.17) |
| CIE-LCH | lch(25.54, 68.43, 301.78°) |
| OKLab | oklab(37.32% 0.0145 -0.1681) |
| OKLCH | oklch(37.32% 0.169 274.9) |
| XYZ | xyz(7.5669, 4.5929, 29.7599) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.48
Royal
#0C1793
ΔE00 5.19
Indigo Blue
#3A18B1
ΔE00 5.80
Blueberry
#464196
ΔE00 6.49
Darkslateblue
#483D8B
ΔE00 6.55
Cobalt Blue
#030AA7
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2C97 #96972C
analogous
#2C6097 #2D2C97 #622C97
triadic
#2D2C97 #972D2C #2C972D
tetradic
#2D2C97 #972C60 #96972C #2C9762
square
#2D2C97 #972C60 #96972C #2C9762
split-complementary
#2D2C97 #97622C #60972C
monochromatic
#111038 #1F1E68 #2D2C97 #3C3AC6 #6B6AD4
Accessibility & contrast
On white
10.94
#2D2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2D2C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2C97
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2C97 | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2d2c97; /* rgb */ color: rgb(45, 44, 151); /* oklch */ color: oklch(37.3% 0.169 274.9);
Tailwind
colors: {
custom: {
50: '#7566b7',
500: '#2d2c97',
950: '#000000',
},
}SCSS
$custom: #2d2c97; $custom-light: #7566b7; $custom-dark: #000000;
JSON
{
"hex": "#2d2c97",
"rgb": {
"r": 45,
"g": 44,
"b": 151
},
"hsl": {
"h": 240.561,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.37324,
"c": 0.16871,
"h": 274.9
},
"luminance": 0.04594
}Semantic roles & 50–950 ramp
primary
#2D2C97
secondary
#B9BA65
accent
#DE4ADD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80