#2C337D#2C337D
#2C337D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.124 H 274.3°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2C337D |
|---|---|
| RGB | rgb(44, 51, 125) |
| HSL | hsl(235, 48%, 33%) |
| HSV | hsv(235, 65%, 49%) |
| CMYK | cmyk(64.8%, 59.2%, 0%, 51%) |
| CIE-LAB | lab(24.90, 21.94, -43.04) |
| CIE-LCH | lch(24.90, 48.31, 297.01°) |
| OKLab | oklab(36.12% 0.0093 -0.1237) |
| OKLCH | oklch(36.12% 0.124 274.3) |
| XYZ | xyz(5.9230, 4.3833, 19.9320) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.35
Blueberry
#464196
ΔE00 6.05
Sapphire (survey)
#2138AB
ΔE00 7.03
Marine
#042E60
ΔE00 7.14
Midnight Blue
#191970
ΔE00 7.40
Marine Blue
#01386A
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C337D #7D762C
analogous
#2C5B7D #2C337D #4D2C7D
triadic
#2C337D #7D2C33 #337D2C
tetradic
#2C337D #7D2C5B #7D762C #2C7D4D
square
#2C337D #7D2C5B #7D762C #2C7D4D
split-complementary
#2C337D #7D4D2C #5B7D2C
monochromatic
#0C0E22 #1C2150 #2C337D #3C45AA #5D66C6
Accessibility & contrast
On white
11.19
#2C337D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2C337D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C337D
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C337D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C337D | 1.00 | 11.19 | 1.88 | 11.19 |
| #FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c337d; /* rgb */ color: rgb(44, 51, 125); /* oklch */ color: oklch(36.1% 0.124 274.3);
Tailwind
colors: {
custom: {
50: '#6f6aa3',
500: '#2c337d',
950: '#000000',
},
}SCSS
$custom: #2c337d; $custom-light: #6f6aa3; $custom-dark: #000000;
JSON
{
"hex": "#2c337d",
"rgb": {
"r": 44,
"g": 51,
"b": 125
},
"hsl": {
"h": 234.815,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.36123,
"c": 0.12406,
"h": 274.3
},
"luminance": 0.04384
}Semantic roles & 50–950 ramp
primary
#2C337D
secondary
#ACA559
accent
#CC50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F