#2C2D9C#2C2D9C
#2C2D9C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.174 H 273.9°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2D9C |
|---|---|
| RGB | rgb(44, 45, 156) |
| HSL | hsl(239, 56%, 39%) |
| HSV | hsv(239, 72%, 61%) |
| CMYK | cmyk(71.8%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(26.19, 37.04, -60.16) |
| CIE-LCH | lch(26.19, 70.65, 301.62°) |
| OKLab | oklab(37.92% 0.0118 -0.1739) |
| OKLCH | oklch(37.92% 0.174 273.9) |
| XYZ | xyz(7.9758, 4.8118, 31.9545) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.86
Royal
#0C1793
ΔE00 5.46
Indigo Blue
#3A18B1
ΔE00 5.56
Blueberry
#464196
ΔE00 6.44
Darkslateblue
#483D8B
ΔE00 6.74
Cobalt Blue
#030AA7
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2D9C #9C9B2C
analogous
#2C659C #2C2D9C #632C9C
triadic
#2C2D9C #9C2C2D #2D9C2C
tetradic
#2C2D9C #9C2C65 #9C9B2C #2C9C63
square
#2C2D9C #9C2C65 #9C9B2C #2C9C63
split-complementary
#2C2D9C #9C632C #659C2C
monochromatic
#11113D #1F1F6C #2C2D9C #3D3EC8 #6D6ED6
Accessibility & contrast
On white
10.70
#2C2D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2C2D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2D9C
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2D9C | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c2d9c; /* rgb */ color: rgb(44, 45, 156); /* oklch */ color: oklch(37.9% 0.174 273.9);
Tailwind
colors: {
custom: {
50: '#7667ba',
500: '#2c2d9c',
950: '#000000',
},
}SCSS
$custom: #2c2d9c; $custom-light: #7667ba; $custom-dark: #000000;
JSON
{
"hex": "#2c2d9c",
"rgb": {
"r": 44,
"g": 45,
"b": 156
},
"hsl": {
"h": 239.464,
"s": 56,
"l": 39.216
},
"oklch": {
"l": 0.37923,
"c": 0.17434,
"h": 273.9
},
"luminance": 0.04813
}Semantic roles & 50–950 ramp
primary
#2C2D9C
secondary
#BDBC67
accent
#DE49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81