#2C336F#2C336F
#2C336F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.103 H 274.8°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2C336F |
|---|---|
| RGB | rgb(44, 51, 111) |
| HSL | hsl(234, 43%, 30%) |
| HSV | hsv(234, 60%, 44%) |
| CMYK | cmyk(60.4%, 54.1%, 0%, 56.5%) |
| CIE-LAB | lab(23.84, 16.76, -35.85) |
| CIE-LCH | lch(23.84, 39.58, 295.05°) |
| OKLab | oklab(34.99% 0.0086 -0.1026) |
| OKLCH | oklch(34.99% 0.103 274.8) |
| XYZ | xyz(5.0908, 4.0505, 15.5494) |
| Luminance | 0.0405 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 6.61
Navy Blue
#1B2A4A
ΔE00 7.39
Marine Blue
#01386A
ΔE00 7.47
Blueberry
#464196
ΔE00 7.71
Midnight Blue
#191970
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C336F #6F682C
analogous
#2C546F #2C336F #462C6F
triadic
#2C336F #6F2C33 #336F2C
tetradic
#2C336F #6F2C54 #6F682C #2C6F46
square
#2C336F #6F2C54 #6F682C #2C6F46
split-complementary
#2C336F #6F462C #546F2C
monochromatic
#090B17 #1B1F43 #2C336F #3D479B #5863BD
Accessibility & contrast
On white
11.60
#2C336F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2C336F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C336F
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C336F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C336F | 1.00 | 11.60 | 1.81 | 11.60 |
| #FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#123C71
Deuteranopia (green-blind)
#05366E
Tritanopia (blue-blind)
#02414C
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2c336f; /* rgb */ color: rgb(44, 51, 111); /* oklch */ color: oklch(35.0% 0.103 274.8);
Tailwind
colors: {
custom: {
50: '#6c6a99',
500: '#2c336f',
950: '#000000',
},
}SCSS
$custom: #2c336f; $custom-light: #6c6a99; $custom-dark: #000000;
JSON
{
"hex": "#2c336f",
"rgb": {
"r": 44,
"g": 51,
"b": 111
},
"hsl": {
"h": 233.731,
"s": 43.226,
"l": 30.392
},
"oklch": {
"l": 0.3499,
"c": 0.10292,
"h": 274.8
},
"luminance": 0.04051
}Semantic roles & 50–950 ramp
primary
#2C336F
secondary
#A19956
accent
#C655D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E