#2C2E8F#2C2E8F
#2C2E8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.156 H 274.7°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E8F |
|---|---|
| RGB | rgb(44, 46, 143) |
| HSL | hsl(239, 53%, 37%) |
| HSV | hsv(239, 69%, 56%) |
| CMYK | cmyk(69.2%, 67.8%, 0%, 43.9%) |
| CIE-LAB | lab(25.17, 31.83, -53.84) |
| CIE-LCH | lch(25.17, 62.55, 300.59°) |
| OKLab | oklab(36.81% 0.0128 -0.1555) |
| OKLCH | oklch(36.81% 0.156 274.7) |
| XYZ | xyz(6.9720, 4.4720, 26.4770) |
| Luminance | 0.0447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.85
Royal
#0C1793
ΔE00 5.85
Darkslateblue
#483D8B
ΔE00 5.89
Blueberry
#464196
ΔE00 6.05
Midnight Blue
#191970
ΔE00 6.80
Indigo Blue
#3A18B1
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E8F #8F8D2C
analogous
#2C608F #2C2E8F #5C2C8F
triadic
#2C2E8F #8F2C2E #2E8F2C
tetradic
#2C2E8F #8F2C60 #8F8D2C #2C8F5C
square
#2C2E8F #8F2C60 #8F8D2C #2C8F5C
split-complementary
#2C2E8F #8F5C2C #608F2C
monochromatic
#0F1031 #1E1F60 #2C2E8F #3A3DBE #6668D0
Accessibility & contrast
On white
11.08
#2C2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2C2E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E8F
11.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E8F | 1.00 | 11.08 | 1.89 | 11.08 |
| #FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c2e8f; /* rgb */ color: rgb(44, 46, 143); /* oklch */ color: oklch(36.8% 0.156 274.7);
Tailwind
colors: {
custom: {
50: '#7367b1',
500: '#2c2e8f',
950: '#000000',
},
}SCSS
$custom: #2c2e8f; $custom-light: #7367b1; $custom-dark: #000000;
JSON
{
"hex": "#2c2e8f",
"rgb": {
"r": 44,
"g": 46,
"b": 143
},
"hsl": {
"h": 238.788,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.36808,
"c": 0.15599,
"h": 274.7
},
"luminance": 0.04473
}Semantic roles & 50–950 ramp
primary
#2C2E8F
secondary
#B6B561
accent
#D94BDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80