#2C3374#2C3374
#2C3374 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.111 H 274.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3374 |
|---|---|
| RGB | rgb(44, 51, 116) |
| HSL | hsl(234, 45%, 31%) |
| HSV | hsv(234, 62%, 45%) |
| CMYK | cmyk(62.1%, 56%, 0%, 54.5%) |
| CIE-LAB | lab(24.21, 18.61, -38.46) |
| CIE-LCH | lch(24.21, 42.72, 295.82°) |
| OKLab | oklab(35.38% 0.0089 -0.1102) |
| OKLCH | oklch(35.38% 0.111 274.6) |
| XYZ | xyz(5.3739, 4.1637, 17.0401) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.05
Marine
#042E60
ΔE00 6.34
Blueberry
#464196
ΔE00 7.04
Marine Blue
#01386A
ΔE00 7.58
Midnight Blue
#191970
ΔE00 7.75
Navy Blue
#1B2A4A
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3374 #746D2C
analogous
#2C5774 #2C3374 #492C74
triadic
#2C3374 #742C33 #33742C
tetradic
#2C3374 #742C57 #746D2C #2C7449
square
#2C3374 #742C57 #746D2C #2C7449
split-complementary
#2C3374 #74492C #57742C
monochromatic
#0A0C1B #1B1F48 #2C3374 #3D47A0 #5A64C0
Accessibility & contrast
On white
11.46
#2C3374 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2C3374 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3374
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3374 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3374 | 1.00 | 11.46 | 1.83 | 11.46 |
| #FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A3D76
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c3374; /* rgb */ color: rgb(44, 51, 116); /* oklch */ color: oklch(35.4% 0.111 274.6);
Tailwind
colors: {
custom: {
50: '#6d6a9c',
500: '#2c3374',
950: '#000000',
},
}SCSS
$custom: #2c3374; $custom-light: #6d6a9c; $custom-dark: #000000;
JSON
{
"hex": "#2c3374",
"rgb": {
"r": 44,
"g": 51,
"b": 116
},
"hsl": {
"h": 234.167,
"s": 45,
"l": 31.373
},
"oklch": {
"l": 0.35383,
"c": 0.11059,
"h": 274.6
},
"luminance": 0.04164
}Semantic roles & 50–950 ramp
primary
#2C3374
secondary
#A69E56
accent
#C853D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E