#2C2D9A#2C2D9A
#2C2D9A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.172 H 274.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2D9A |
|---|---|
| RGB | rgb(44, 45, 154) |
| HSL | hsl(239, 56%, 39%) |
| HSV | hsv(239, 71%, 60%) |
| CMYK | cmyk(71.4%, 70.8%, 0%, 39.6%) |
| CIE-LAB | lab(25.99, 36.34, -59.27) |
| CIE-LCH | lch(25.99, 69.52, 301.52°) |
| OKLab | oklab(37.72% 0.0121 -0.1713) |
| OKLCH | oklch(37.72% 0.172 274) |
| XYZ | xyz(7.8079, 4.7446, 31.0699) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.00
Royal
#0C1793
ΔE00 5.42
Indigo Blue
#3A18B1
ΔE00 5.75
Blueberry
#464196
ΔE00 6.38
Darkslateblue
#483D8B
ΔE00 6.62
Cobalt Blue
#030AA7
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2D9A #9A992C
analogous
#2C649A #2C2D9A #622C9A
triadic
#2C2D9A #9A2C2D #2D9A2C
tetradic
#2C2D9A #9A2C64 #9A992C #2C9A62
square
#2C2D9A #9A2C64 #9A992C #2C9A62
split-complementary
#2C2D9A #9A622C #649A2C
monochromatic
#11113B #1E1F6A #2C2D9A #3C3DC7 #6C6CD5
Accessibility & contrast
On white
10.77
#2C2D9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2C2D9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2D9A
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2D9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2D9A | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c2d9a; /* rgb */ color: rgb(44, 45, 154); /* oklch */ color: oklch(37.7% 0.172 274.0);
Tailwind
colors: {
custom: {
50: '#7667b9',
500: '#2c2d9a',
950: '#000000',
},
}SCSS
$custom: #2c2d9a; $custom-light: #7667b9; $custom-dark: #000000;
JSON
{
"hex": "#2c2d9a",
"rgb": {
"r": 44,
"g": 45,
"b": 154
},
"hsl": {
"h": 239.455,
"s": 55.556,
"l": 38.824
},
"oklch": {
"l": 0.37721,
"c": 0.17175,
"h": 274
},
"luminance": 0.04745
}Semantic roles & 50–950 ramp
primary
#2C2D9A
secondary
#BCBB66
accent
#DE49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81