#2C337F#2C337F
#2C337F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.127 H 274.2°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2C337F |
|---|---|
| RGB | rgb(44, 51, 127) |
| HSL | hsl(235, 49%, 34%) |
| HSV | hsv(235, 65%, 50%) |
| CMYK | cmyk(65.4%, 59.8%, 0%, 50.2%) |
| CIE-LAB | lab(25.06, 22.68, -44.04) |
| CIE-LCH | lch(25.06, 49.54, 297.24°) |
| OKLab | oklab(36.29% 0.0093 -0.1267) |
| OKLCH | oklch(36.29% 0.127 274.2) |
| XYZ | xyz(6.0520, 4.4349, 20.6117) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.26
Blueberry
#464196
ΔE00 5.88
Sapphire (survey)
#2138AB
ΔE00 6.70
Marine
#042E60
ΔE00 7.35
Midnight Blue
#191970
ΔE00 7.38
Marine Blue
#01386A
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C337F #7F782C
analogous
#2C5C7F #2C337F #4E2C7F
triadic
#2C337F #7F2C33 #337F2C
tetradic
#2C337F #7F2C5C #7F782C #2C7F4E
square
#2C337F #7F2C5C #7F782C #2C7F4E
split-complementary
#2C337F #7F4E2C #5C7F2C
monochromatic
#0D0E24 #1C2152 #2C337F #3C45AC #5E67C7
Accessibility & contrast
On white
11.13
#2C337F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2C337F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C337F
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C337F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C337F | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c337f; /* rgb */ color: rgb(44, 51, 127); /* oklch */ color: oklch(36.3% 0.127 274.2);
Tailwind
colors: {
custom: {
50: '#6f6aa5',
500: '#2c337f',
950: '#000000',
},
}SCSS
$custom: #2c337f; $custom-light: #6f6aa5; $custom-dark: #000000;
JSON
{
"hex": "#2c337f",
"rgb": {
"r": 44,
"g": 51,
"b": 127
},
"hsl": {
"h": 234.94,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.36292,
"c": 0.12699,
"h": 274.2
},
"luminance": 0.04435
}Semantic roles & 50–950 ramp
primary
#2C337F
secondary
#ADA659
accent
#CD50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F