#2C337A#2C337A
#2C337A is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.9% C 0.120 H 274.4°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2C337A |
|---|---|
| RGB | rgb(44, 51, 122) |
| HSL | hsl(235, 47%, 33%) |
| HSV | hsv(235, 64%, 48%) |
| CMYK | cmyk(63.9%, 58.2%, 0%, 52.2%) |
| CIE-LAB | lab(24.66, 20.83, -41.53) |
| CIE-LCH | lch(24.66, 46.46, 296.63°) |
| OKLab | oklab(35.87% 0.0092 -0.1193) |
| OKLCH | oklch(35.87% 0.12 274.4) |
| XYZ | xyz(5.7342, 4.3078, 18.9379) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.54
Blueberry
#464196
ΔE00 6.35
Marine
#042E60
ΔE00 6.85
Midnight Blue
#191970
ΔE00 7.47
Sapphire (survey)
#2138AB
ΔE00 7.54
Marine Blue
#01386A
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C337A #7A732C
analogous
#2C5A7A #2C337A #4C2C7A
triadic
#2C337A #7A2C33 #337A2C
tetradic
#2C337A #7A2C5A #7A732C #2C7A4C
square
#2C337A #7A2C5A #7A732C #2C7A4C
split-complementary
#2C337A #7A4C2C #5A7A2C
monochromatic
#0C0D20 #1C204D #2C337A #3C46A7 #5C65C4
Accessibility & contrast
On white
11.28
#2C337A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2C337A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C337A
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C337A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C337A | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c337a; /* rgb */ color: rgb(44, 51, 122); /* oklch */ color: oklch(35.9% 0.120 274.4);
Tailwind
colors: {
custom: {
50: '#6e6aa1',
500: '#2c337a',
950: '#000000',
},
}SCSS
$custom: #2c337a; $custom-light: #6e6aa1; $custom-dark: #000000;
JSON
{
"hex": "#2c337a",
"rgb": {
"r": 44,
"g": 51,
"b": 122
},
"hsl": {
"h": 234.615,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.35872,
"c": 0.11962,
"h": 274.4
},
"luminance": 0.04308
}Semantic roles & 50–950 ramp
primary
#2C337A
secondary
#AAA357
accent
#CB51D7
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F