#2C4EAE#2C4EAE
#2C4EAE is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.159 H 265.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4EAE |
|---|---|
| RGB | rgb(44, 78, 174) |
| HSL | hsl(224, 60%, 43%) |
| HSV | hsv(224, 75%, 68%) |
| CMYK | cmyk(74.7%, 55.2%, 0%, 31.8%) |
| CIE-LAB | lab(36.06, 22.19, -54.88) |
| CIE-LCH | lch(36.06, 59.19, 292.02°) |
| OKLab | oklab(45.69% -0.012 -0.1581) |
| OKLCH | oklch(45.69% 0.159 265.6) |
| XYZ | xyz(11.4004, 9.0390, 41.1801) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.83
Cobalt
#0047AB
ΔE00 3.06
Cobalt (survey)
#1E488F
ΔE00 4.95
Blue Blue
#2242C7
ΔE00 5.31
Dusk Blue
#26538D
ΔE00 5.67
Denim Blue
#3B5B92
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4EAE #AE8C2C
analogous
#2C8FAE #2C4EAE #4B2CAE
triadic
#2C4EAE #AE2C4E #4EAE2C
tetradic
#2C4EAE #AE2C8F #AE8C2C #2CAE4B
square
#2C4EAE #AE2C8F #AE8C2C #2CAE4B
split-complementary
#2C4EAE #AE4B2C #8FAE2C
monochromatic
#13224C #20387D #2C4EAE #476BD0 #7892DD
Accessibility & contrast
On white
7.48
#2C4EAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2C4EAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4EAE
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4EAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4EAE | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2c4eae; /* rgb */ color: rgb(44, 78, 174); /* oklch */ color: oklch(45.7% 0.159 265.6);
Tailwind
colors: {
custom: {
50: '#787fc7',
500: '#2c4eae',
950: '#000000',
},
}SCSS
$custom: #2c4eae; $custom-light: #787fc7; $custom-dark: #000000;
JSON
{
"hex": "#2c4eae",
"rgb": {
"r": 44,
"g": 78,
"b": 174
},
"hsl": {
"h": 224.308,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.45686,
"c": 0.15859,
"h": 265.6
},
"luminance": 0.0904
}Semantic roles & 50–950 ramp
primary
#2C4EAE
secondary
#C5AF71
accent
#BA45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82