#2C4CB2#2C4CB2
#2C4CB2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.167 H 266.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4CB2 |
|---|---|
| RGB | rgb(44, 76, 178) |
| HSL | hsl(226, 60%, 44%) |
| HSV | hsv(226, 75%, 70%) |
| CMYK | cmyk(75.3%, 57.3%, 0%, 30.2%) |
| CIE-LAB | lab(35.82, 25.03, -57.63) |
| CIE-LCH | lch(35.82, 62.83, 293.48°) |
| OKLab | oklab(45.61% -0.0103 -0.1663) |
| OKLCH | oklch(45.61% 0.167 266.5) |
| XYZ | xyz(11.6562, 8.9174, 43.2178) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.13
Sapphire
#0F52BA
ΔE00 3.31
Blue Blue
#2242C7
ΔE00 4.34
Cobalt (survey)
#1E488F
ΔE00 5.51
Sapphire (survey)
#2138AB
ΔE00 6.13
Blue (survey)
#0343DF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4CB2 #B2922C
analogous
#2C8FB2 #2C4CB2 #4F2CB2
triadic
#2C4CB2 #B22C4C #4CB22C
tetradic
#2C4CB2 #B22C8F #B2922C #2CB24F
square
#2C4CB2 #B22C8F #B2922C #2CB24F
split-complementary
#2C4CB2 #B24F2C #8FB22C
monochromatic
#142250 #203781 #2C4CB2 #496AD2 #7A92DE
Accessibility & contrast
On white
7.54
#2C4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2C4CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4CB2
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4CB2 | 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)
#005BB5
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c4cb2; /* rgb */ color: rgb(44, 76, 178); /* oklch */ color: oklch(45.6% 0.167 266.5);
Tailwind
colors: {
custom: {
50: '#797dca',
500: '#2c4cb2',
950: '#000000',
},
}SCSS
$custom: #2c4cb2; $custom-light: #797dca; $custom-dark: #000000;
JSON
{
"hex": "#2c4cb2",
"rgb": {
"r": 44,
"g": 76,
"b": 178
},
"hsl": {
"h": 225.672,
"s": 60.36,
"l": 43.529
},
"oklch": {
"l": 0.45606,
"c": 0.16658,
"h": 266.5
},
"luminance": 0.08919
}Semantic roles & 50–950 ramp
primary
#2C4CB2
secondary
#C6B373
accent
#BD44E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82