#2C2E8D#2C2E8D
#2C2E8D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.153 H 274.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E8D |
|---|---|
| RGB | rgb(44, 46, 141) |
| HSL | hsl(239, 52%, 36%) |
| HSV | hsv(239, 69%, 55%) |
| CMYK | cmyk(68.8%, 67.4%, 0%, 44.7%) |
| CIE-LAB | lab(24.99, 31.11, -52.91) |
| CIE-LCH | lch(24.99, 61.38, 300.46°) |
| OKLab | oklab(36.62% 0.013 -0.1527) |
| OKLCH | oklch(36.62% 0.153 274.9) |
| XYZ | xyz(6.8218, 4.4119, 25.6862) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.08
Darkslateblue
#483D8B
ΔE00 5.82
Royal
#0C1793
ΔE00 5.95
Blueberry
#464196
ΔE00 6.07
Midnight Blue
#191970
ΔE00 6.63
Indigo Blue
#3A18B1
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E8D #8D8B2C
analogous
#2C5F8D #2C2E8D #5B2C8D
triadic
#2C2E8D #8D2C2E #2E8D2C
tetradic
#2C2E8D #8D2C5F #8D8B2C #2C8D5B
square
#2C2E8D #8D2C5F #8D8B2C #2C8D5B
split-complementary
#2C2E8D #8D5B2C #5F8D2C
monochromatic
#0F1030 #1D1F5E #2C2E8D #3B3DBC #6567CF
Accessibility & contrast
On white
11.15
#2C2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2C2E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E8D
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E8D | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c2e8d; /* rgb */ color: rgb(44, 46, 141); /* oklch */ color: oklch(36.6% 0.153 274.9);
Tailwind
colors: {
custom: {
50: '#7367af',
500: '#2c2e8d',
950: '#000000',
},
}SCSS
$custom: #2c2e8d; $custom-light: #7367af; $custom-dark: #000000;
JSON
{
"hex": "#2c2e8d",
"rgb": {
"r": 44,
"g": 46,
"b": 141
},
"hsl": {
"h": 238.763,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.36616,
"c": 0.15327,
"h": 274.9
},
"luminance": 0.04413
}Semantic roles & 50–950 ramp
primary
#2C2E8D
secondary
#B5B360
accent
#D94CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F