#2C4299#2C4299
#2C4299 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.145 H 268.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4299 |
|---|---|
| RGB | rgb(44, 66, 153) |
| HSL | hsl(228, 55%, 39%) |
| HSV | hsv(228, 71%, 60%) |
| CMYK | cmyk(71.2%, 56.9%, 0%, 40%) |
| CIE-LAB | lab(31.19, 22.25, -50.17) |
| CIE-LCH | lch(31.19, 54.88, 293.91°) |
| OKLab | oklab(41.52% -0.0035 -0.1445) |
| OKLCH | oklch(41.52% 0.145 268.6) |
| XYZ | xyz(8.7347, 6.7309, 30.9697) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.07
Cobalt (survey)
#1E488F
ΔE00 4.18
Sapphire (survey)
#2138AB
ΔE00 4.34
Blueberry
#464196
ΔE00 4.60
Darkish Blue
#014182
ΔE00 6.05
Darkslateblue
#483D8B
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4299 #99832C
analogous
#2C7899 #2C4299 #4C2C99
triadic
#2C4299 #992C42 #42992C
tetradic
#2C4299 #992C78 #99832C #2C994C
square
#2C4299 #992C78 #99832C #2C994C
split-complementary
#2C4299 #994C2C #78992C
monochromatic
#11193A #1E2D69 #2C4299 #3B58C7 #6B80D4
Accessibility & contrast
On white
8.95
#2C4299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2C4299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4299
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4299 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2c4299; /* rgb */ color: rgb(44, 66, 153); /* oklch */ color: oklch(41.5% 0.145 268.6);
Tailwind
colors: {
custom: {
50: '#7476b8',
500: '#2c4299',
950: '#000000',
},
}SCSS
$custom: #2c4299; $custom-light: #7476b8; $custom-dark: #000000;
JSON
{
"hex": "#2c4299",
"rgb": {
"r": 44,
"g": 66,
"b": 153
},
"hsl": {
"h": 227.89,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.41515,
"c": 0.14453,
"h": 268.6
},
"luminance": 0.06732
}Semantic roles & 50–950 ramp
primary
#2C4299
secondary
#BBAA66
accent
#C049DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80