#2C4EAF#2C4EAF
#2C4EAF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.160 H 265.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4EAF |
|---|---|
| RGB | rgb(44, 78, 175) |
| HSL | hsl(224, 60%, 43%) |
| HSV | hsv(224, 75%, 69%) |
| CMYK | cmyk(74.9%, 55.4%, 0%, 31.4%) |
| CIE-LAB | lab(36.13, 22.57, -55.35) |
| CIE-LCH | lch(36.13, 59.77, 292.18°) |
| OKLab | oklab(45.77% -0.012 -0.1595) |
| OKLCH | oklch(45.77% 0.16 265.7) |
| XYZ | xyz(11.4982, 9.0781, 41.6954) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.81
Cobalt
#0047AB
ΔE00 3.10
Cobalt (survey)
#1E488F
ΔE00 5.08
Blue Blue
#2242C7
ΔE00 5.21
Dusk Blue
#26538D
ΔE00 5.79
Denim Blue
#3B5B92
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4EAF #AF8D2C
analogous
#2C90AF #2C4EAF #4B2CAF
triadic
#2C4EAF #AF2C4E #4EAF2C
tetradic
#2C4EAF #AF2C90 #AF8D2C #2CAF4B
square
#2C4EAF #AF2C90 #AF8D2C #2CAF4B
split-complementary
#2C4EAF #AF4B2C #90AF2C
monochromatic
#13224D #20387E #2C4EAF #476BD1 #7892DD
Accessibility & contrast
On white
7.46
#2C4EAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2C4EAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4EAF
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4EAF | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2c4eaf; /* rgb */ color: rgb(44, 78, 175); /* oklch */ color: oklch(45.8% 0.160 265.7);
Tailwind
colors: {
custom: {
50: '#787fc8',
500: '#2c4eaf',
950: '#000000',
},
}SCSS
$custom: #2c4eaf; $custom-light: #787fc8; $custom-dark: #000000;
JSON
{
"hex": "#2c4eaf",
"rgb": {
"r": 44,
"g": 78,
"b": 175
},
"hsl": {
"h": 224.427,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.45767,
"c": 0.15997,
"h": 265.7
},
"luminance": 0.09079
}Semantic roles & 50–950 ramp
primary
#2C4EAF
secondary
#C5AF72
accent
#BA45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82