#2C4DA5#2C4DA5
#2C4DA5 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.147 H 265.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4DA5 |
|---|---|
| RGB | rgb(44, 77, 165) |
| HSL | hsl(224, 58%, 41%) |
| HSV | hsv(224, 73%, 65%) |
| CMYK | cmyk(73.3%, 53.3%, 0%, 35.3%) |
| CIE-LAB | lab(35.12, 19.43, -51.04) |
| CIE-LCH | lch(35.12, 54.61, 290.84°) |
| OKLab | oklab(44.77% -0.012 -0.1468) |
| OKLCH | oklch(44.77% 0.147 265.3) |
| XYZ | xyz(10.4817, 8.5587, 36.6896) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.82
Sapphire
#0F52BA
ΔE00 3.53
Cobalt (survey)
#1E488F
ΔE00 3.78
Dusk Blue
#26538D
ΔE00 4.90
Denim Blue
#3B5B92
ΔE00 5.50
Blue Blue
#2242C7
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4DA5 #A5842C
analogous
#2C89A5 #2C4DA5 #472CA5
triadic
#2C4DA5 #A52C4D #4DA52C
tetradic
#2C4DA5 #A52C89 #A5842C #2CA547
square
#2C4DA5 #A52C89 #A5842C #2CA547
split-complementary
#2C4DA5 #A5472C #89A52C
monochromatic
#122044 #1F3675 #2C4DA5 #4268CD #728ED9
Accessibility & contrast
On white
7.74
#2C4DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2C4DA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4DA5
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4DA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4DA5 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F58A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c4da5; /* rgb */ color: rgb(44, 77, 165); /* oklch */ color: oklch(44.8% 0.147 265.3);
Tailwind
colors: {
custom: {
50: '#767ec0',
500: '#2c4da5',
950: '#000000',
},
}SCSS
$custom: #2c4da5; $custom-light: #767ec0; $custom-dark: #000000;
JSON
{
"hex": "#2c4da5",
"rgb": {
"r": 44,
"g": 77,
"b": 165
},
"hsl": {
"h": 223.636,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.44766,
"c": 0.14734,
"h": 265.3
},
"luminance": 0.0856
}Semantic roles & 50–950 ramp
primary
#2C4DA5
secondary
#C1AA6C
accent
#B747E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81