#2C2E7D#2C2E7D
#2C2E7D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.131 H 276.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E7D |
|---|---|
| RGB | rgb(44, 46, 125) |
| HSL | hsl(239, 48%, 33%) |
| HSV | hsv(239, 65%, 49%) |
| CMYK | cmyk(64.8%, 63.2%, 0%, 51%) |
| CIE-LAB | lab(23.57, 25.33, -45.20) |
| CIE-LCH | lch(23.57, 51.82, 299.27°) |
| OKLab | oklab(35.14% 0.0142 -0.1301) |
| OKLCH | oklch(35.14% 0.131 276.2) |
| XYZ | xyz(5.7162, 3.9697, 19.8631) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.79
Midnight Blue
#191970
ΔE00 5.87
Blueberry
#464196
ΔE00 6.72
Sapphire (survey)
#2138AB
ΔE00 7.27
Royal
#0C1793
ΔE00 7.37
Marine
#042E60
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E7D #7D7B2C
analogous
#2C567D #2C2E7D #532C7D
triadic
#2C2E7D #7D2C2E #2E7D2C
tetradic
#2C2E7D #7D2C56 #7D7B2C #2C7D53
square
#2C2E7D #7D2C56 #7D7B2C #2C7D53
split-complementary
#2C2E7D #7D532C #567D2C
monochromatic
#0C0D22 #1C1D50 #2C2E7D #3C3FAA #5D60C6
Accessibility & contrast
On white
11.71
#2C2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2C2E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E7D
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E7D | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c2e7d; /* rgb */ color: rgb(44, 46, 125); /* oklch */ color: oklch(35.1% 0.131 276.2);
Tailwind
colors: {
custom: {
50: '#6f67a3',
500: '#2c2e7d',
950: '#000000',
},
}SCSS
$custom: #2c2e7d; $custom-light: #6f67a3; $custom-dark: #000000;
JSON
{
"hex": "#2c2e7d",
"rgb": {
"r": 44,
"g": 46,
"b": 125
},
"hsl": {
"h": 238.519,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.35139,
"c": 0.13088,
"h": 276.2
},
"luminance": 0.0397
}Semantic roles & 50–950 ramp
primary
#2C2E7D
secondary
#ACAA59
accent
#D450D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F