#2C2F89#2C2F89
#2C2F89 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.147 H 274.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F89 |
|---|---|
| RGB | rgb(44, 47, 137) |
| HSL | hsl(238, 51%, 35%) |
| HSV | hsv(238, 68%, 54%) |
| CMYK | cmyk(67.9%, 65.7%, 0%, 46.3%) |
| CIE-LAB | lab(24.87, 29.02, -50.61) |
| CIE-LCH | lch(24.87, 58.34, 299.83°) |
| OKLab | oklab(36.42% 0.0126 -0.146) |
| OKLCH | oklch(36.42% 0.147 274.9) |
| XYZ | xyz(6.5691, 4.3741, 24.1602) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.45
Darkslateblue
#483D8B
ΔE00 5.57
Blueberry
#464196
ΔE00 5.95
Royal
#0C1793
ΔE00 6.48
Midnight Blue
#191970
ΔE00 6.56
Indigo Blue
#3A18B1
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F89 #89862C
analogous
#2C5D89 #2C2F89 #582C89
triadic
#2C2F89 #892C2F #2F892C
tetradic
#2C2F89 #892C5D #89862C #2C8958
square
#2C2F89 #892C5D #89862C #2C8958
split-complementary
#2C2F89 #89582C #5D892C
monochromatic
#0E0F2C #1D1F5B #2C2F89 #3B3FB7 #6366CD
Accessibility & contrast
On white
11.20
#2C2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2C2F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F89
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F89 | 1.00 | 11.20 | 1.88 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c2f89; /* rgb */ color: rgb(44, 47, 137); /* oklch */ color: oklch(36.4% 0.147 274.9);
Tailwind
colors: {
custom: {
50: '#7267ac',
500: '#2c2f89',
950: '#000000',
},
}SCSS
$custom: #2c2f89; $custom-light: #7267ac; $custom-dark: #000000;
JSON
{
"hex": "#2c2f89",
"rgb": {
"r": 44,
"g": 47,
"b": 137
},
"hsl": {
"h": 238.065,
"s": 51.381,
"l": 35.49
},
"oklch": {
"l": 0.36418,
"c": 0.14652,
"h": 274.9
},
"luminance": 0.04375
}Semantic roles & 50–950 ramp
primary
#2C2F89
secondary
#B3B05E
accent
#D64DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F