#2C2E95#2C2E95
#2C2E95 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.164 H 274.2°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E95 |
|---|---|
| RGB | rgb(44, 46, 149) |
| HSL | hsl(239, 54%, 38%) |
| HSV | hsv(239, 70%, 58%) |
| CMYK | cmyk(70.5%, 69.1%, 0%, 41.6%) |
| CIE-LAB | lab(25.74, 33.96, -56.62) |
| CIE-LCH | lch(25.74, 66.02, 300.96°) |
| OKLab | oklab(37.39% 0.0121 -0.1636) |
| OKLCH | oklch(37.39% 0.164 274.2) |
| XYZ | xyz(7.4387, 4.6587, 28.9351) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.22
Royal
#0C1793
ΔE00 5.68
Blueberry
#464196
ΔE00 6.07
Darkslateblue
#483D8B
ΔE00 6.17
Indigo Blue
#3A18B1
ΔE00 6.50
Midnight Blue
#191970
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E95 #95932C
analogous
#2C6295 #2C2E95 #5E2C95
triadic
#2C2E95 #952C2E #2E952C
tetradic
#2C2E95 #952C62 #95932C #2C955E
square
#2C2E95 #952C62 #95932C #2C955E
split-complementary
#2C2E95 #955E2C #62952C
monochromatic
#101137 #1E1F66 #2C2E95 #3A3DC4 #696BD3
Accessibility & contrast
On white
10.87
#2C2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2C2E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E95
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E95 | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c2e95; /* rgb */ color: rgb(44, 46, 149); /* oklch */ color: oklch(37.4% 0.164 274.2);
Tailwind
colors: {
custom: {
50: '#7467b5',
500: '#2c2e95',
950: '#000000',
},
}SCSS
$custom: #2c2e95; $custom-light: #7467b5; $custom-dark: #000000;
JSON
{
"hex": "#2c2e95",
"rgb": {
"r": 44,
"g": 46,
"b": 149
},
"hsl": {
"h": 238.857,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.3739,
"c": 0.16403,
"h": 274.2
},
"luminance": 0.04659
}Semantic roles & 50–950 ramp
primary
#2C2E95
secondary
#B9B864
accent
#DB4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80