#2C2E93#2C2E93
#2C2E93 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.161 H 274.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E93 |
|---|---|
| RGB | rgb(44, 46, 147) |
| HSL | hsl(239, 54%, 37%) |
| HSV | hsv(239, 70%, 58%) |
| CMYK | cmyk(70.1%, 68.7%, 0%, 42.4%) |
| CIE-LAB | lab(25.55, 33.25, -55.70) |
| CIE-LCH | lch(25.55, 64.87, 300.84°) |
| OKLab | oklab(37.2% 0.0124 -0.1609) |
| OKLCH | oklch(37.2% 0.161 274.4) |
| XYZ | xyz(7.2804, 4.5954, 28.1014) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.41
Royal
#0C1793
ΔE00 5.72
Blueberry
#464196
ΔE00 6.05
Darkslateblue
#483D8B
ΔE00 6.07
Indigo Blue
#3A18B1
ΔE00 6.73
Midnight Blue
#191970
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E93 #93912C
analogous
#2C6193 #2C2E93 #5E2C93
triadic
#2C2E93 #932C2E #2E932C
tetradic
#2C2E93 #932C61 #93912C #2C935E
square
#2C2E93 #932C61 #93912C #2C935E
split-complementary
#2C2E93 #935E2C #61932C
monochromatic
#101135 #1E1F64 #2C2E93 #3A3DC2 #686AD2
Accessibility & contrast
On white
10.94
#2C2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2C2E93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E93
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E93 | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c2e93; /* rgb */ color: rgb(44, 46, 147); /* oklch */ color: oklch(37.2% 0.161 274.4);
Tailwind
colors: {
custom: {
50: '#7467b4',
500: '#2c2e93',
950: '#000000',
},
}SCSS
$custom: #2c2e93; $custom-light: #7467b4; $custom-dark: #000000;
JSON
{
"hex": "#2c2e93",
"rgb": {
"r": 44,
"g": 46,
"b": 147
},
"hsl": {
"h": 238.835,
"s": 53.927,
"l": 37.451
},
"oklch": {
"l": 0.37195,
"c": 0.16136,
"h": 274.4
},
"luminance": 0.04596
}Semantic roles & 50–950 ramp
primary
#2C2E93
secondary
#B8B763
accent
#DA4ADD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80