#2C4399#2C4399
#2C4399 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.143 H 268.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4399 |
|---|---|
| RGB | rgb(44, 67, 153) |
| HSL | hsl(227, 55%, 39%) |
| HSV | hsv(227, 71%, 60%) |
| CMYK | cmyk(71.2%, 56.2%, 0%, 40%) |
| CIE-LAB | lab(31.46, 21.57, -49.73) |
| CIE-LCH | lch(31.46, 54.21, 293.45°) |
| OKLab | oklab(41.72% -0.0044 -0.1432) |
| OKLCH | oklch(41.72% 0.143 268.2) |
| XYZ | xyz(8.7936, 6.8488, 30.9893) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.88
Cobalt (survey)
#1E488F
ΔE00 3.89
Sapphire (survey)
#2138AB
ΔE00 4.62
Blueberry
#464196
ΔE00 4.77
Darkish Blue
#014182
ΔE00 5.90
Blue Blue
#2242C7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4399 #99822C
analogous
#2C7999 #2C4399 #4B2C99
triadic
#2C4399 #992C43 #43992C
tetradic
#2C4399 #992C79 #99822C #2C994B
square
#2C4399 #992C79 #99822C #2C994B
split-complementary
#2C4399 #994B2C #79992C
monochromatic
#11193A #1E2E69 #2C4399 #3B59C7 #6B81D4
Accessibility & contrast
On white
8.86
#2C4399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2C4399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4399
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4399 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c4399; /* rgb */ color: rgb(44, 67, 153); /* oklch */ color: oklch(41.7% 0.143 268.2);
Tailwind
colors: {
custom: {
50: '#7476b8',
500: '#2c4399',
950: '#000000',
},
}SCSS
$custom: #2c4399; $custom-light: #7476b8; $custom-dark: #000000;
JSON
{
"hex": "#2c4399",
"rgb": {
"r": 44,
"g": 67,
"b": 153
},
"hsl": {
"h": 227.339,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.41721,
"c": 0.14324,
"h": 268.2
},
"luminance": 0.0685
}Semantic roles & 50–950 ramp
primary
#2C4399
secondary
#BBA966
accent
#BF49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80