#2C336A#2C336A
#2C336A is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.095 H 274.8°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2C336A |
|---|---|
| RGB | rgb(44, 51, 106) |
| HSL | hsl(233, 41%, 29%) |
| HSV | hsv(233, 58%, 42%) |
| CMYK | cmyk(58.5%, 51.9%, 0%, 58.4%) |
| CIE-LAB | lab(23.48, 14.93, -33.21) |
| CIE-LCH | lch(23.48, 36.41, 294.20°) |
| OKLab | oklab(34.61% 0.008 -0.0948) |
| OKLCH | oklch(34.61% 0.095 274.8) |
| XYZ | xyz(4.8232, 3.9434, 14.1399) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.85
Navy Blue
#1B2A4A
ΔE00 6.67
Darkslateblue
#483D8B
ΔE00 7.27
Marine Blue
#01386A
ΔE00 7.47
Blueberry
#464196
ΔE00 8.46
Midnight Blue
#191970
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C336A #6A632C
analogous
#2C526A #2C336A #442C6A
triadic
#2C336A #6A2C33 #336A2C
tetradic
#2C336A #6A2C52 #6A632C #2C6A44
square
#2C336A #6A2C52 #6A632C #2C6A44
split-complementary
#2C336A #6A442C #526A2C
monochromatic
#090A16 #1A1E3F #2C336A #3E4895 #5762B9
Accessibility & contrast
On white
11.74
#2C336A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2C336A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C336A
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C336A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C336A | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#183B6C
Deuteranopia (green-blind)
#0F3569
Tritanopia (blue-blind)
#0B3F49
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c336a; /* rgb */ color: rgb(44, 51, 106); /* oklch */ color: oklch(34.6% 0.095 274.8);
Tailwind
colors: {
custom: {
50: '#6b6a95',
500: '#2c336a',
950: '#000000',
},
}SCSS
$custom: #2c336a; $custom-light: #6b6a95; $custom-dark: #000000;
JSON
{
"hex": "#2c336a",
"rgb": {
"r": 44,
"g": 51,
"b": 106
},
"hsl": {
"h": 233.226,
"s": 41.333,
"l": 29.412
},
"oklch": {
"l": 0.34609,
"c": 0.09511,
"h": 274.8
},
"luminance": 0.03944
}Semantic roles & 50–950 ramp
primary
#2C336A
secondary
#9C9456
accent
#C357D1
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E