#2C4DAE#2C4DAE
#2C4DAE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.160 H 266.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4DAE |
|---|---|
| RGB | rgb(44, 77, 174) |
| HSL | hsl(225, 60%, 43%) |
| HSV | hsv(225, 75%, 68%) |
| CMYK | cmyk(74.7%, 55.7%, 0%, 31.8%) |
| CIE-LAB | lab(35.79, 22.85, -55.32) |
| CIE-LCH | lch(35.79, 59.85, 292.45°) |
| OKLab | oklab(45.48% -0.0112 -0.1594) |
| OKLCH | oklch(45.48% 0.16 266) |
| XYZ | xyz(11.3299, 8.8980, 41.1566) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.95
Sapphire
#0F52BA
ΔE00 3.08
Cobalt (survey)
#1E488F
ΔE00 4.95
Blue Blue
#2242C7
ΔE00 5.05
Dusk Blue
#26538D
ΔE00 5.88
Denim Blue
#3B5B92
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4DAE #AE8D2C
analogous
#2C8EAE #2C4DAE #4C2CAE
triadic
#2C4DAE #AE2C4D #4DAE2C
tetradic
#2C4DAE #AE2C8E #AE8D2C #2CAE4C
square
#2C4DAE #AE2C8E #AE8D2C #2CAE4C
split-complementary
#2C4DAE #AE4C2C #8EAE2C
monochromatic
#13224C #20377D #2C4DAE #476AD0 #7891DD
Accessibility & contrast
On white
7.55
#2C4DAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2C4DAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4DAE
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4DAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4DAE | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c4dae; /* rgb */ color: rgb(44, 77, 174); /* oklch */ color: oklch(45.5% 0.160 266.0);
Tailwind
colors: {
custom: {
50: '#787ec7',
500: '#2c4dae',
950: '#000000',
},
}SCSS
$custom: #2c4dae; $custom-light: #787ec7; $custom-dark: #000000;
JSON
{
"hex": "#2c4dae",
"rgb": {
"r": 44,
"g": 77,
"b": 174
},
"hsl": {
"h": 224.769,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.45481,
"c": 0.15985,
"h": 266
},
"luminance": 0.08899
}Semantic roles & 50–950 ramp
primary
#2C4DAE
secondary
#C5AF71
accent
#BB45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82