#2C4EAB#2C4EAB
#2C4EAB is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.154 H 265.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4EAB |
|---|---|
| RGB | rgb(44, 78, 171) |
| HSL | hsl(224, 59%, 42%) |
| HSV | hsv(224, 74%, 67%) |
| CMYK | cmyk(74.3%, 54.4%, 0%, 32.9%) |
| CIE-LAB | lab(35.84, 21.05, -53.46) |
| CIE-LCH | lch(35.84, 57.45, 291.49°) |
| OKLab | oklab(45.45% -0.0123 -0.1539) |
| OKLCH | oklch(45.45% 0.154 265.4) |
| XYZ | xyz(11.1112, 8.9233, 39.6570) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.95
Cobalt
#0047AB
ΔE00 2.96
Cobalt (survey)
#1E488F
ΔE00 4.56
Dusk Blue
#26538D
ΔE00 5.33
Blue Blue
#2242C7
ΔE00 5.65
Denim Blue
#3B5B92
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4EAB #AB892C
analogous
#2C8EAB #2C4EAB #4A2CAB
triadic
#2C4EAB #AB2C4E #4EAB2C
tetradic
#2C4EAB #AB2C8E #AB892C #2CAB4A
square
#2C4EAB #AB2C8E #AB892C #2CAB4A
split-complementary
#2C4EAB #AB4A2C #8EAB2C
monochromatic
#13224A #1F387A #2C4EAB #456ACF #7691DC
Accessibility & contrast
On white
7.54
#2C4EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2C4EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4EAB
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4EAB | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#025AAE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c4eab; /* rgb */ color: rgb(44, 78, 171); /* oklch */ color: oklch(45.4% 0.154 265.4);
Tailwind
colors: {
custom: {
50: '#777fc5',
500: '#2c4eab',
950: '#000000',
},
}SCSS
$custom: #2c4eab; $custom-light: #777fc5; $custom-dark: #000000;
JSON
{
"hex": "#2c4eab",
"rgb": {
"r": 44,
"g": 78,
"b": 171
},
"hsl": {
"h": 223.937,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.45447,
"c": 0.15444,
"h": 265.4
},
"luminance": 0.08925
}Semantic roles & 50–950 ramp
primary
#2C4EAB
secondary
#C3AD6F
accent
#B846E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82