#2C2D95#2C2D95
#2C2D95 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.165 H 274.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2D95 |
|---|---|
| RGB | rgb(44, 45, 149) |
| HSL | hsl(239, 54%, 38%) |
| HSV | hsv(239, 70%, 58%) |
| CMYK | cmyk(70.5%, 69.8%, 0%, 41.6%) |
| CIE-LAB | lab(25.51, 34.59, -57.00) |
| CIE-LCH | lch(25.51, 66.67, 301.25°) |
| OKLab | oklab(37.22% 0.0128 -0.1647) |
| OKLCH | oklch(37.22% 0.165 274.4) |
| XYZ | xyz(7.4001, 4.5815, 28.9223) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.40
Royal
#0C1793
ΔE00 5.42
Blueberry
#464196
ΔE00 6.29
Indigo Blue
#3A18B1
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 6.33
Cobalt Blue
#030AA7
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2D95 #95942C
analogous
#2C6195 #2C2D95 #602C95
triadic
#2C2D95 #952C2D #2D952C
tetradic
#2C2D95 #952C61 #95942C #2C9560
square
#2C2D95 #952C61 #95942C #2C9560
split-complementary
#2C2D95 #95602C #61952C
monochromatic
#101037 #1E1F66 #2C2D95 #3A3BC4 #696AD3
Accessibility & contrast
On white
10.96
#2C2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2C2D95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2D95
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2D95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2D95 | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c2d95; /* rgb */ color: rgb(44, 45, 149); /* oklch */ color: oklch(37.2% 0.165 274.4);
Tailwind
colors: {
custom: {
50: '#7466b5',
500: '#2c2d95',
950: '#000000',
},
}SCSS
$custom: #2c2d95; $custom-light: #7466b5; $custom-dark: #000000;
JSON
{
"hex": "#2c2d95",
"rgb": {
"r": 44,
"g": 45,
"b": 149
},
"hsl": {
"h": 239.429,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.37223,
"c": 0.16519,
"h": 274.4
},
"luminance": 0.04582
}Semantic roles & 50–950 ramp
primary
#2C2D95
secondary
#B9B864
accent
#DC4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80