#2C2E7E#2C2E7E
#2C2E7E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.132 H 276.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E7E |
|---|---|
| RGB | rgb(44, 46, 126) |
| HSL | hsl(239, 48%, 33%) |
| HSV | hsv(239, 65%, 49%) |
| CMYK | cmyk(65.1%, 63.5%, 0%, 50.6%) |
| CIE-LAB | lab(23.66, 25.70, -45.70) |
| CIE-LCH | lch(23.66, 52.43, 299.35°) |
| OKLab | oklab(35.23% 0.0141 -0.1316) |
| OKLCH | oklch(35.23% 0.132 276.1) |
| XYZ | xyz(5.7804, 3.9954, 20.2012) |
| Luminance | 0.0400 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.76
Midnight Blue
#191970
ΔE00 5.88
Blueberry
#464196
ΔE00 6.66
Sapphire (survey)
#2138AB
ΔE00 7.11
Royal
#0C1793
ΔE00 7.25
Marine
#042E60
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E7E #7E7C2C
analogous
#2C577E #2C2E7E #532C7E
triadic
#2C2E7E #7E2C2E #2E7E2C
tetradic
#2C2E7E #7E2C57 #7E7C2C #2C7E53
square
#2C2E7E #7E2C57 #7E7C2C #2C7E53
split-complementary
#2C2E7E #7E532C #577E2C
monochromatic
#0C0D23 #1C1D51 #2C2E7E #3C3FAB #5E60C7
Accessibility & contrast
On white
11.67
#2C2E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2C2E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E7E
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E7E | 1.00 | 11.67 | 1.80 | 11.67 |
| #FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c2e7e; /* rgb */ color: rgb(44, 46, 126); /* oklch */ color: oklch(35.2% 0.132 276.1);
Tailwind
colors: {
custom: {
50: '#6f67a4',
500: '#2c2e7e',
950: '#000000',
},
}SCSS
$custom: #2c2e7e; $custom-light: #6f67a4; $custom-dark: #000000;
JSON
{
"hex": "#2c2e7e",
"rgb": {
"r": 44,
"g": 46,
"b": 126
},
"hsl": {
"h": 238.537,
"s": 48.235,
"l": 33.333
},
"oklch": {
"l": 0.35228,
"c": 0.13232,
"h": 276.1
},
"luminance": 0.03996
}Semantic roles & 50–950 ramp
primary
#2C2E7E
secondary
#ADAB59
accent
#D550D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F