#2C3071#2C3071
#2C3071 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.5% C 0.110 H 276.3°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3071 |
|---|---|
| RGB | rgb(44, 48, 113) |
| HSL | hsl(237, 44%, 31%) |
| HSV | hsv(237, 61%, 44%) |
| CMYK | cmyk(61.1%, 57.5%, 0%, 55.7%) |
| CIE-LAB | lab(23.14, 19.58, -38.26) |
| CIE-LCH | lch(23.14, 42.98, 297.10°) |
| OKLab | oklab(34.51% 0.0121 -0.1097) |
| OKLCH | oklch(34.51% 0.11 276.3) |
| XYZ | xyz(5.0753, 3.8413, 16.0936) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.40
Marine
#042E60
ΔE00 6.59
Midnight Blue
#191970
ΔE00 6.95
Blueberry
#464196
ΔE00 7.63
Navy Blue
#1B2A4A
ΔE00 7.94
Marine Blue
#01386A
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3071 #716D2C
analogous
#2C5271 #2C3071 #4A2C71
triadic
#2C3071 #712C30 #30712C
tetradic
#2C3071 #712C52 #716D2C #2C714A
square
#2C3071 #712C52 #716D2C #2C714A
split-complementary
#2C3071 #714A2C #52712C
monochromatic
#0A0B19 #1B1D45 #2C3071 #3D439D #595FBE
Accessibility & contrast
On white
11.88
#2C3071 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2C3071 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3071
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3071 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3071 | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#043A73
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c3071; /* rgb */ color: rgb(44, 48, 113); /* oklch */ color: oklch(34.5% 0.110 276.3);
Tailwind
colors: {
custom: {
50: '#6c689a',
500: '#2c3071',
950: '#000000',
},
}SCSS
$custom: #2c3071; $custom-light: #6c689a; $custom-dark: #000000;
JSON
{
"hex": "#2c3071",
"rgb": {
"r": 44,
"g": 48,
"b": 113
},
"hsl": {
"h": 236.522,
"s": 43.949,
"l": 30.784
},
"oklch": {
"l": 0.34513,
"c": 0.11035,
"h": 276.3
},
"luminance": 0.03842
}Semantic roles & 50–950 ramp
primary
#2C3071
secondary
#A39E56
accent
#CC54D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E