#2C2F71#2C2F71
#2C2F71 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.112 H 276.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F71 |
|---|---|
| RGB | rgb(44, 47, 113) |
| HSL | hsl(237, 44%, 31%) |
| HSV | hsv(237, 61%, 44%) |
| CMYK | cmyk(61.1%, 58.4%, 0%, 55.7%) |
| CIE-LAB | lab(22.86, 20.27, -38.71) |
| CIE-LCH | lch(22.86, 43.70, 297.64°) |
| OKLab | oklab(34.31% 0.0132 -0.111) |
| OKLCH | oklch(34.31% 0.112 276.8) |
| XYZ | xyz(5.0349, 3.7604, 16.0801) |
| Luminance | 0.0376 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.46
Midnight Blue
#191970
ΔE00 6.62
Marine
#042E60
ΔE00 6.77
Blueberry
#464196
ΔE00 7.73
Navy Blue
#1B2A4A
ΔE00 8.05
Marine Blue
#01386A
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F71 #716E2C
analogous
#2C5171 #2C2F71 #4B2C71
triadic
#2C2F71 #712C2F #2F712C
tetradic
#2C2F71 #712C51 #716E2C #2C714B
square
#2C2F71 #712C51 #716E2C #2C714B
split-complementary
#2C2F71 #714B2C #51712C
monochromatic
#0A0A19 #1B1D45 #2C2F71 #3D419D #595DBE
Accessibility & contrast
On white
11.98
#2C2F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2C2F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F71
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F71 | 1.00 | 11.98 | 1.75 | 11.98 |
| #FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A73
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c2f71; /* rgb */ color: rgb(44, 47, 113); /* oklch */ color: oklch(34.3% 0.112 276.8);
Tailwind
colors: {
custom: {
50: '#6c679a',
500: '#2c2f71',
950: '#000000',
},
}SCSS
$custom: #2c2f71; $custom-light: #6c679a; $custom-dark: #000000;
JSON
{
"hex": "#2c2f71",
"rgb": {
"r": 44,
"g": 47,
"b": 113
},
"hsl": {
"h": 237.391,
"s": 43.949,
"l": 30.784
},
"oklch": {
"l": 0.34307,
"c": 0.11179,
"h": 276.8
},
"luminance": 0.03761
}Semantic roles & 50–950 ramp
primary
#2C2F71
secondary
#A39F56
accent
#CE54D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E