#2C2F86#2C2F86
#2C2F86 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.142 H 275.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F86 |
|---|---|
| RGB | rgb(44, 47, 134) |
| HSL | hsl(238, 51%, 35%) |
| HSV | hsv(238, 67%, 53%) |
| CMYK | cmyk(67.2%, 64.9%, 0%, 47.5%) |
| CIE-LAB | lab(24.61, 27.93, -49.18) |
| CIE-LCH | lch(24.61, 56.56, 299.60°) |
| OKLab | oklab(36.14% 0.0128 -0.1418) |
| OKLCH | oklch(36.14% 0.142 275.2) |
| XYZ | xyz(6.3569, 4.2892, 23.0425) |
| Luminance | 0.0429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.53
Sapphire (survey)
#2138AB
ΔE00 5.86
Blueberry
#464196
ΔE00 6.05
Midnight Blue
#191970
ΔE00 6.40
Royal
#0C1793
ΔE00 6.71
Indigo Blue
#3A18B1
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F86 #86832C
analogous
#2C5C86 #2C2F86 #562C86
triadic
#2C2F86 #862C2F #2F862C
tetradic
#2C2F86 #862C5C #86832C #2C8656
square
#2C2F86 #862C5C #86832C #2C8656
split-complementary
#2C2F86 #86562C #5C862C
monochromatic
#0E0F2A #1D1F58 #2C2F86 #3B3FB4 #6165CB
Accessibility & contrast
On white
11.30
#2C2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2C2F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F86
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F86 | 1.00 | 11.30 | 1.86 | 11.30 |
| #FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c2f86; /* rgb */ color: rgb(44, 47, 134); /* oklch */ color: oklch(36.1% 0.142 275.2);
Tailwind
colors: {
custom: {
50: '#7167aa',
500: '#2c2f86',
950: '#000000',
},
}SCSS
$custom: #2c2f86; $custom-light: #7167aa; $custom-dark: #000000;
JSON
{
"hex": "#2c2f86",
"rgb": {
"r": 44,
"g": 47,
"b": 134
},
"hsl": {
"h": 238,
"s": 50.562,
"l": 34.902
},
"oklch": {
"l": 0.36141,
"c": 0.14234,
"h": 275.2
},
"luminance": 0.0429
}Semantic roles & 50–950 ramp
primary
#2C2F86
secondary
#B1AF5C
accent
#D54EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F