#2C4CB6#2C4CB6
#2C4CB6 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.172 H 266.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4CB6 |
|---|---|
| RGB | rgb(44, 76, 182) |
| HSL | hsl(226, 61%, 44%) |
| HSV | hsv(226, 76%, 71%) |
| CMYK | cmyk(75.8%, 58.2%, 0%, 28.6%) |
| CIE-LAB | lab(36.14, 26.54, -59.48) |
| CIE-LCH | lch(36.14, 65.13, 294.05°) |
| OKLab | oklab(45.94% -0.0101 -0.1717) |
| OKLCH | oklch(45.94% 0.172 266.6) |
| XYZ | xyz(12.0637, 9.0804, 45.3638) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.37
Cobalt
#0047AB
ΔE00 3.46
Blue Blue
#2242C7
ΔE00 3.93
Blue (survey)
#0343DF
ΔE00 5.72
Cobalt (survey)
#1E488F
ΔE00 6.05
Sapphire (survey)
#2138AB
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4CB6 #B6962C
analogous
#2C91B6 #2C4CB6 #512CB6
triadic
#2C4CB6 #B62C4C #4CB62C
tetradic
#2C4CB6 #B62C91 #B6962C #2CB651
square
#2C4CB6 #B62C91 #B6962C #2CB651
split-complementary
#2C4CB6 #B6512C #91B62C
monochromatic
#142353 #203785 #2C4CB6 #4C6BD4 #7D94E0
Accessibility & contrast
On white
7.46
#2C4CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2C4CB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4CB6
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4CB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4CB6 | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2c4cb6; /* rgb */ color: rgb(44, 76, 182); /* oklch */ color: oklch(45.9% 0.172 266.6);
Tailwind
colors: {
custom: {
50: '#7a7dcd',
500: '#2c4cb6',
950: '#000000',
},
}SCSS
$custom: #2c4cb6; $custom-light: #7a7dcd; $custom-dark: #000000;
JSON
{
"hex": "#2c4cb6",
"rgb": {
"r": 44,
"g": 76,
"b": 182
},
"hsl": {
"h": 226.087,
"s": 61.062,
"l": 44.314
},
"oklch": {
"l": 0.4594,
"c": 0.172,
"h": 266.6
},
"luminance": 0.09082
}Semantic roles & 50–950 ramp
primary
#2C4CB6
secondary
#C8B576
accent
#BF44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82