#2C4EA7#2C4EA7
#2C4EA7 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.149 H 265.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4EA7 |
|---|---|
| RGB | rgb(44, 78, 167) |
| HSL | hsl(223, 58%, 41%) |
| HSV | hsv(223, 74%, 65%) |
| CMYK | cmyk(73.7%, 53.3%, 0%, 34.5%) |
| CIE-LAB | lab(35.54, 19.52, -51.55) |
| CIE-LCH | lch(35.54, 55.12, 290.74°) |
| OKLab | oklab(45.13% -0.0126 -0.1483) |
| OKLCH | oklch(45.13% 0.149 265.1) |
| XYZ | xyz(10.7357, 8.7731, 37.6793) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.94
Sapphire
#0F52BA
ΔE00 3.18
Cobalt (survey)
#1E488F
ΔE00 4.05
Dusk Blue
#26538D
ΔE00 4.87
Denim Blue
#3B5B92
ΔE00 5.34
Blue Blue
#2242C7
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4EA7 #A7852C
analogous
#2C8CA7 #2C4EA7 #482CA7
triadic
#2C4EA7 #A72C4E #4EA72C
tetradic
#2C4EA7 #A72C8C #A7852C #2CA748
square
#2C4EA7 #A72C8C #A7852C #2CA748
split-complementary
#2C4EA7 #A7482C #8CA72C
monochromatic
#122146 #1F3777 #2C4EA7 #4369CD #7390DA
Accessibility & contrast
On white
7.62
#2C4EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2C4EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4EA7
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4EA7 | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F5AAA
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c4ea7; /* rgb */ color: rgb(44, 78, 167); /* oklch */ color: oklch(45.1% 0.149 265.1);
Tailwind
colors: {
custom: {
50: '#767fc2',
500: '#2c4ea7',
950: '#000000',
},
}SCSS
$custom: #2c4ea7; $custom-light: #767fc2; $custom-dark: #000000;
JSON
{
"hex": "#2c4ea7",
"rgb": {
"r": 44,
"g": 78,
"b": 167
},
"hsl": {
"h": 223.415,
"s": 58.294,
"l": 41.373
},
"oklch": {
"l": 0.45133,
"c": 0.14887,
"h": 265.1
},
"luminance": 0.08774
}Semantic roles & 50–950 ramp
primary
#2C4EA7
secondary
#C2AA6D
accent
#B746E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81