#2C4CB1#2C4CB1
#2C4CB1 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.165 H 266.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4CB1 |
|---|---|
| RGB | rgb(44, 76, 177) |
| HSL | hsl(226, 60%, 43%) |
| HSV | hsv(226, 75%, 69%) |
| CMYK | cmyk(75.1%, 57.1%, 0%, 30.6%) |
| CIE-LAB | lab(35.75, 24.65, -57.16) |
| CIE-LCH | lch(35.75, 62.25, 293.33°) |
| OKLab | oklab(45.52% -0.0103 -0.1649) |
| OKLCH | oklch(45.52% 0.165 266.4) |
| XYZ | xyz(11.5562, 8.8774, 42.6909) |
| Luminance | 0.0888 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.06
Sapphire
#0F52BA
ΔE00 3.31
Blue Blue
#2242C7
ΔE00 4.46
Cobalt (survey)
#1E488F
ΔE00 5.38
Sapphire (survey)
#2138AB
ΔE00 6.14
Blue (survey)
#0343DF
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4CB1 #B1912C
analogous
#2C8EB1 #2C4CB1 #4E2CB1
triadic
#2C4CB1 #B12C4C #4CB12C
tetradic
#2C4CB1 #B12C8E #B1912C #2CB14E
square
#2C4CB1 #B12C8E #B1912C #2CB14E
split-complementary
#2C4CB1 #B14E2C #8EB12C
monochromatic
#14224F #203780 #2C4CB1 #496AD2 #7A92DE
Accessibility & contrast
On white
7.57
#2C4CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2C4CB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4CB1
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4CB1 | 1.00 | 7.57 | 2.78 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c4cb1; /* rgb */ color: rgb(44, 76, 177); /* oklch */ color: oklch(45.5% 0.165 266.4);
Tailwind
colors: {
custom: {
50: '#797dc9',
500: '#2c4cb1',
950: '#000000',
},
}SCSS
$custom: #2c4cb1; $custom-light: #797dc9; $custom-dark: #000000;
JSON
{
"hex": "#2c4cb1",
"rgb": {
"r": 44,
"g": 76,
"b": 177
},
"hsl": {
"h": 225.564,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.45523,
"c": 0.16521,
"h": 266.4
},
"luminance": 0.08879
}Semantic roles & 50–950 ramp
primary
#2C4CB1
secondary
#C6B273
accent
#BD44E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82