#2C4AB4#2C4AB4
#2C4AB4 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.172 H 267.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4AB4 |
|---|---|
| RGB | rgb(44, 74, 180) |
| HSL | hsl(227, 61%, 44%) |
| HSV | hsv(227, 76%, 71%) |
| CMYK | cmyk(75.6%, 58.9%, 0%, 29.4%) |
| CIE-LAB | lab(35.45, 27.11, -59.42) |
| CIE-LCH | lch(35.45, 65.31, 294.52°) |
| OKLab | oklab(45.38% -0.0088 -0.1715) |
| OKLCH | oklch(45.38% 0.172 267.1) |
| XYZ | xyz(11.7228, 8.7270, 44.2378) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.30
Blue Blue
#2242C7
ΔE00 3.62
Sapphire
#0F52BA
ΔE00 3.91
Sapphire (survey)
#2138AB
ΔE00 5.47
Blue (survey)
#0343DF
ΔE00 5.70
Cobalt (survey)
#1E488F
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4AB4 #B4962C
analogous
#2C8EB4 #2C4AB4 #522CB4
triadic
#2C4AB4 #B42C4A #4AB42C
tetradic
#2C4AB4 #B42C8E #B4962C #2CB452
square
#2C4AB4 #B42C8E #B4962C #2CB452
split-complementary
#2C4AB4 #B4522C #8EB42C
monochromatic
#142252 #203683 #2C4AB4 #4A68D3 #7C91DF
Accessibility & contrast
On white
7.65
#2C4AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2C4AB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4AB4
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4AB4 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c4ab4; /* rgb */ color: rgb(44, 74, 180); /* oklch */ color: oklch(45.4% 0.172 267.1);
Tailwind
colors: {
custom: {
50: '#797ccb',
500: '#2c4ab4',
950: '#000000',
},
}SCSS
$custom: #2c4ab4; $custom-light: #797ccb; $custom-dark: #000000;
JSON
{
"hex": "#2c4ab4",
"rgb": {
"r": 44,
"g": 74,
"b": 180
},
"hsl": {
"h": 226.765,
"s": 60.714,
"l": 43.922
},
"oklch": {
"l": 0.45377,
"c": 0.17176,
"h": 267.1
},
"luminance": 0.08728
}Semantic roles & 50–950 ramp
primary
#2C4AB4
secondary
#C7B575
accent
#C144E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82