#2C4AB2#2C4AB2
#2C4AB2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.169 H 267.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4AB2 |
|---|---|
| RGB | rgb(44, 74, 178) |
| HSL | hsl(227, 60%, 44%) |
| HSV | hsv(227, 75%, 70%) |
| CMYK | cmyk(75.3%, 58.4%, 0%, 30.2%) |
| CIE-LAB | lab(35.29, 26.35, -58.49) |
| CIE-LCH | lch(35.29, 64.16, 294.25°) |
| OKLab | oklab(45.21% -0.0088 -0.1688) |
| OKLCH | oklch(45.21% 0.169 267) |
| XYZ | xyz(11.5206, 8.6461, 43.1726) |
| Luminance | 0.0865 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.14
Blue Blue
#2242C7
ΔE00 3.85
Sapphire
#0F52BA
ΔE00 3.89
Sapphire (survey)
#2138AB
ΔE00 5.46
Cobalt (survey)
#1E488F
ΔE00 5.64
Blue (survey)
#0343DF
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4AB2 #B2942C
analogous
#2C8DB2 #2C4AB2 #512CB2
triadic
#2C4AB2 #B22C4A #4AB22C
tetradic
#2C4AB2 #B22C8D #B2942C #2CB251
square
#2C4AB2 #B22C8D #B2942C #2CB251
split-complementary
#2C4AB2 #B2512C #8DB22C
monochromatic
#142150 #203681 #2C4AB2 #4968D2 #7A91DE
Accessibility & contrast
On white
7.69
#2C4AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2C4AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4AB2
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4AB2 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c4ab2; /* rgb */ color: rgb(44, 74, 178); /* oklch */ color: oklch(45.2% 0.169 267.0);
Tailwind
colors: {
custom: {
50: '#797cca',
500: '#2c4ab2',
950: '#000000',
},
}SCSS
$custom: #2c4ab2; $custom-light: #797cca; $custom-dark: #000000;
JSON
{
"hex": "#2c4ab2",
"rgb": {
"r": 44,
"g": 74,
"b": 178
},
"hsl": {
"h": 226.567,
"s": 60.36,
"l": 43.529
},
"oklch": {
"l": 0.45208,
"c": 0.16905,
"h": 267
},
"luminance": 0.08647
}Semantic roles & 50–950 ramp
primary
#2C4AB2
secondary
#C6B473
accent
#C044E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82