#2C2E7F#2C2E7F
#2C2E7F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.134 H 276.0°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E7F |
|---|---|
| RGB | rgb(44, 46, 127) |
| HSL | hsl(239, 49%, 34%) |
| HSV | hsv(239, 65%, 50%) |
| CMYK | cmyk(65.4%, 63.8%, 0%, 50.2%) |
| CIE-LAB | lab(23.74, 26.06, -46.19) |
| CIE-LCH | lch(23.74, 53.03, 299.43°) |
| OKLab | oklab(35.32% 0.0141 -0.133) |
| OKLCH | oklch(35.32% 0.134 276) |
| XYZ | xyz(5.8452, 4.0213, 20.5427) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.73
Midnight Blue
#191970
ΔE00 5.90
Blueberry
#464196
ΔE00 6.59
Sapphire (survey)
#2138AB
ΔE00 6.96
Royal
#0C1793
ΔE00 7.14
Marine
#042E60
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E7F #7F7D2C
analogous
#2C577F #2C2E7F #532C7F
triadic
#2C2E7F #7F2C2E #2E7F2C
tetradic
#2C2E7F #7F2C57 #7F7D2C #2C7F53
square
#2C2E7F #7F2C57 #7F7D2C #2C7F53
split-complementary
#2C2E7F #7F532C #577F2C
monochromatic
#0D0D24 #1C1E52 #2C2E7F #3C3EAC #5E61C7
Accessibility & contrast
On white
11.64
#2C2E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2C2E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E7F
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E7F | 1.00 | 11.64 | 1.80 | 11.64 |
| #FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c2e7f; /* rgb */ color: rgb(44, 46, 127); /* oklch */ color: oklch(35.3% 0.134 276.0);
Tailwind
colors: {
custom: {
50: '#6f67a5',
500: '#2c2e7f',
950: '#000000',
},
}SCSS
$custom: #2c2e7f; $custom-light: #6f67a5; $custom-dark: #000000;
JSON
{
"hex": "#2c2e7f",
"rgb": {
"r": 44,
"g": 46,
"b": 127
},
"hsl": {
"h": 238.554,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.35318,
"c": 0.13374,
"h": 276
},
"luminance": 0.04022
}Semantic roles & 50–950 ramp
primary
#2C2E7F
secondary
#ADAB59
accent
#D550D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F