#2C2D71#2C2D71
#2C2D71 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.9% C 0.115 H 277.7°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2D71 |
|---|---|
| RGB | rgb(44, 45, 113) |
| HSL | hsl(239, 44%, 31%) |
| HSV | hsv(239, 61%, 44%) |
| CMYK | cmyk(61.1%, 60.2%, 0%, 55.7%) |
| CIE-LAB | lab(22.32, 21.65, -39.60) |
| CIE-LCH | lch(22.32, 45.13, 298.67°) |
| OKLab | oklab(33.9% 0.0154 -0.1136) |
| OKLCH | oklch(33.9% 0.115 277.7) |
| XYZ | xyz(4.9568, 3.6041, 16.0541) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.97
Darkslateblue
#483D8B
ΔE00 6.61
Marine
#042E60
ΔE00 7.16
Blueberry
#464196
ΔE00 7.96
Navy Blue
#1B2A4A
ΔE00 8.31
Royal
#0C1793
ΔE00 8.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2D71 #71702C
analogous
#2C4F71 #2C2D71 #4D2C71
triadic
#2C2D71 #712C2D #2D712C
tetradic
#2C2D71 #712C4F #71702C #2C714D
square
#2C2D71 #712C4F #71702C #2C714D
split-complementary
#2C2D71 #714D2C #4F712C
monochromatic
#0A0A19 #1B1B45 #2C2D71 #3D3F9D #595ABE
Accessibility & contrast
On white
12.20
#2C2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2C2D71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2D71
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2D71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2D71 | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2c2d71; /* rgb */ color: rgb(44, 45, 113); /* oklch */ color: oklch(33.9% 0.115 277.7);
Tailwind
colors: {
custom: {
50: '#6d669a',
500: '#2c2d71',
950: '#000000',
},
}SCSS
$custom: #2c2d71; $custom-light: #6d669a; $custom-dark: #000000;
JSON
{
"hex": "#2c2d71",
"rgb": {
"r": 44,
"g": 45,
"b": 113
},
"hsl": {
"h": 239.13,
"s": 43.949,
"l": 30.784
},
"oklch": {
"l": 0.33901,
"c": 0.11467,
"h": 277.7
},
"luminance": 0.03604
}Semantic roles & 50–950 ramp
primary
#2C2D71
secondary
#A3A256
accent
#D254D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E