#2C2F84#2C2F84
#2C2F84 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.140 H 275.3°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F84 |
|---|---|
| RGB | rgb(44, 47, 132) |
| HSL | hsl(238, 50%, 35%) |
| HSV | hsv(238, 67%, 52%) |
| CMYK | cmyk(66.7%, 64.4%, 0%, 48.2%) |
| CIE-LAB | lab(24.43, 27.21, -48.21) |
| CIE-LCH | lch(24.43, 55.36, 299.44°) |
| OKLab | oklab(35.96% 0.0129 -0.1389) |
| OKLCH | oklch(35.96% 0.14 275.3) |
| XYZ | xyz(6.2187, 4.2339, 22.3148) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.53
Blueberry
#464196
ΔE00 6.14
Sapphire (survey)
#2138AB
ΔE00 6.15
Midnight Blue
#191970
ΔE00 6.31
Royal
#0C1793
ΔE00 6.89
Marine
#042E60
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F84 #84812C
analogous
#2C5B84 #2C2F84 #552C84
triadic
#2C2F84 #842C2F #2F842C
tetradic
#2C2F84 #842C5B #84812C #2C8455
square
#2C2F84 #842C5B #84812C #2C8455
split-complementary
#2C2F84 #84552C #5B842C
monochromatic
#0D0E28 #1D1F56 #2C2F84 #3B3FB2 #6064CA
Accessibility & contrast
On white
11.37
#2C2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2C2F84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F84
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F84 | 1.00 | 11.37 | 1.85 | 11.37 |
| #FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c2f84; /* rgb */ color: rgb(44, 47, 132); /* oklch */ color: oklch(36.0% 0.140 275.3);
Tailwind
colors: {
custom: {
50: '#7067a9',
500: '#2c2f84',
950: '#000000',
},
}SCSS
$custom: #2c2f84; $custom-light: #7067a9; $custom-dark: #000000;
JSON
{
"hex": "#2c2f84",
"rgb": {
"r": 44,
"g": 47,
"b": 132
},
"hsl": {
"h": 237.955,
"s": 50,
"l": 34.51
},
"oklch": {
"l": 0.35958,
"c": 0.13953,
"h": 275.3
},
"luminance": 0.04234
}Semantic roles & 50–950 ramp
primary
#2C2F84
secondary
#B0AD5C
accent
#D54EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F