#2C4C9D#2C4C9D
#2C4C9D is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.137 H 265.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4C9D |
|---|---|
| RGB | rgb(44, 76, 157) |
| HSL | hsl(223, 56%, 39%) |
| HSV | hsv(223, 72%, 62%) |
| CMYK | cmyk(72%, 51.6%, 0%, 38.4%) |
| CIE-LAB | lab(34.27, 17.04, -47.61) |
| CIE-LCH | lch(34.27, 50.56, 289.69°) |
| OKLab | oklab(43.94% -0.0119 -0.1368) |
| OKLCH | oklch(43.94% 0.137 265) |
| XYZ | xyz(9.7068, 8.1377, 32.9509) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.80
Cobalt
#0047AB
ΔE00 3.07
Dusk Blue
#26538D
ΔE00 4.38
Sapphire
#0F52BA
ΔE00 4.38
Denim Blue
#3B5B92
ΔE00 5.34
Darkish Blue
#014182
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4C9D #9D7D2C
analogous
#2C859D #2C4C9D #452C9D
triadic
#2C4C9D #9D2C4C #4C9D2C
tetradic
#2C4C9D #9D2C85 #9D7D2C #2C9D45
square
#2C4C9D #9D2C85 #9D7D2C #2C9D45
split-complementary
#2C4C9D #9D452C #859D2C
monochromatic
#111E3D #1F356D #2C4C9D #3D65C9 #6D8BD6
Accessibility & contrast
On white
7.99
#2C4C9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2C4C9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4C9D
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4C9D | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B56A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2c4c9d; /* rgb */ color: rgb(44, 76, 157); /* oklch */ color: oklch(43.9% 0.137 265.0);
Tailwind
colors: {
custom: {
50: '#747dba',
500: '#2c4c9d',
950: '#000000',
},
}SCSS
$custom: #2c4c9d; $custom-light: #747dba; $custom-dark: #000000;
JSON
{
"hex": "#2c4c9d",
"rgb": {
"r": 44,
"g": 76,
"b": 157
},
"hsl": {
"h": 223.009,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.43937,
"c": 0.1373,
"h": 265
},
"luminance": 0.08139
}Semantic roles & 50–950 ramp
primary
#2C4C9D
secondary
#BDA568
accent
#B548E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81