#2C2D7D#2C2D7D
#2C2D7D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.132 H 276.6°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2D7D |
|---|---|
| RGB | rgb(44, 45, 125) |
| HSL | hsl(239, 48%, 33%) |
| HSV | hsv(239, 65%, 49%) |
| CMYK | cmyk(64.8%, 64%, 0%, 51%) |
| CIE-LAB | lab(23.31, 26.00, -45.62) |
| CIE-LCH | lch(23.31, 52.51, 299.68°) |
| OKLab | oklab(34.95% 0.0151 -0.1313) |
| OKLCH | oklch(34.95% 0.132 276.6) |
| XYZ | xyz(5.6776, 3.8925, 19.8502) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.59
Darkslateblue
#483D8B
ΔE00 5.93
Blueberry
#464196
ΔE00 6.89
Royal
#0C1793
ΔE00 7.11
Sapphire (survey)
#2138AB
ΔE00 7.35
Marine
#042E60
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2D7D #7D7C2C
analogous
#2C557D #2C2D7D #532C7D
triadic
#2C2D7D #7D2C2D #2D7D2C
tetradic
#2C2D7D #7D2C55 #7D7C2C #2C7D53
square
#2C2D7D #7D2C55 #7D7C2C #2C7D53
split-complementary
#2C2D7D #7D532C #557D2C
monochromatic
#0C0C22 #1C1D50 #2C2D7D #3C3DAA #5D5FC6
Accessibility & contrast
On white
11.81
#2C2D7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2C2D7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2D7D
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2D7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2D7D | 1.00 | 11.81 | 1.78 | 11.81 |
| #FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c2d7d; /* rgb */ color: rgb(44, 45, 125); /* oklch */ color: oklch(34.9% 0.132 276.6);
Tailwind
colors: {
custom: {
50: '#6f66a3',
500: '#2c2d7d',
950: '#000000',
},
}SCSS
$custom: #2c2d7d; $custom-light: #6f66a3; $custom-dark: #000000;
JSON
{
"hex": "#2c2d7d",
"rgb": {
"r": 44,
"g": 45,
"b": 125
},
"hsl": {
"h": 239.259,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.34949,
"c": 0.13222,
"h": 276.6
},
"luminance": 0.03893
}Semantic roles & 50–950 ramp
primary
#2C2D7D
secondary
#ACAB59
accent
#D650D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F