#2C2D7A#2C2D7A
#2C2D7A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.128 H 276.8°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2D7A |
|---|---|
| RGB | rgb(44, 45, 122) |
| HSL | hsl(239, 47%, 33%) |
| HSV | hsv(239, 64%, 48%) |
| CMYK | cmyk(63.9%, 63.1%, 0%, 52.2%) |
| CIE-LAB | lab(23.06, 24.91, -44.14) |
| CIE-LCH | lch(23.06, 50.69, 299.44°) |
| OKLab | oklab(34.68% 0.0153 -0.127) |
| OKLCH | oklch(34.68% 0.128 276.8) |
| XYZ | xyz(5.4888, 3.8170, 18.8561) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.59
Darkslateblue
#483D8B
ΔE00 6.04
Blueberry
#464196
ΔE00 7.11
Royal
#0C1793
ΔE00 7.49
Sapphire (survey)
#2138AB
ΔE00 7.81
Marine
#042E60
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2D7A #7A792C
analogous
#2C547A #2C2D7A #522C7A
triadic
#2C2D7A #7A2C2D #2D7A2C
tetradic
#2C2D7A #7A2C54 #7A792C #2C7A52
square
#2C2D7A #7A2C54 #7A792C #2C7A52
split-complementary
#2C2D7A #7A522C #547A2C
monochromatic
#0C0C20 #1C1C4D #2C2D7A #3C3EA7 #5C5DC4
Accessibility & contrast
On white
11.91
#2C2D7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2C2D7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2D7A
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2D7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2D7A | 1.00 | 11.91 | 1.76 | 11.91 |
| #FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c2d7a; /* rgb */ color: rgb(44, 45, 122); /* oklch */ color: oklch(34.7% 0.128 276.8);
Tailwind
colors: {
custom: {
50: '#6e66a1',
500: '#2c2d7a',
950: '#000000',
},
}SCSS
$custom: #2c2d7a; $custom-light: #6e66a1; $custom-dark: #000000;
JSON
{
"hex": "#2c2d7a",
"rgb": {
"r": 44,
"g": 45,
"b": 122
},
"hsl": {
"h": 239.231,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.34681,
"c": 0.1279,
"h": 276.8
},
"luminance": 0.03817
}Semantic roles & 50–950 ramp
primary
#2C2D7A
secondary
#AAA957
accent
#D551D7
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F