#2C4DB6#2C4DB6
#2C4DB6 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.171 H 266.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4DB6 |
|---|---|
| RGB | rgb(44, 77, 182) |
| HSL | hsl(226, 61%, 44%) |
| HSV | hsv(226, 76%, 71%) |
| CMYK | cmyk(75.8%, 57.7%, 0%, 28.6%) |
| CIE-LAB | lab(36.40, 25.88, -59.05) |
| CIE-LCH | lch(36.40, 64.47, 293.67°) |
| OKLab | oklab(46.14% -0.0108 -0.1704) |
| OKLCH | oklch(46.14% 0.171 266.4) |
| XYZ | xyz(12.1331, 9.2193, 45.3869) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.09
Cobalt
#0047AB
ΔE00 3.50
Blue Blue
#2242C7
ΔE00 4.21
Blue (survey)
#0343DF
ΔE00 5.88
Cobalt (survey)
#1E488F
ΔE00 6.01
Sapphire (survey)
#2138AB
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4DB6 #B6952C
analogous
#2C92B6 #2C4DB6 #502CB6
triadic
#2C4DB6 #B62C4D #4DB62C
tetradic
#2C4DB6 #B62C92 #B6952C #2CB650
square
#2C4DB6 #B62C92 #B6952C #2CB650
split-complementary
#2C4DB6 #B6502C #92B62C
monochromatic
#142353 #203885 #2C4DB6 #4C6CD4 #7D94E0
Accessibility & contrast
On white
7.38
#2C4DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2C4DB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4DB6
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4DB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4DB6 | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2c4db6; /* rgb */ color: rgb(44, 77, 182); /* oklch */ color: oklch(46.1% 0.171 266.4);
Tailwind
colors: {
custom: {
50: '#7a7ecd',
500: '#2c4db6',
950: '#000000',
},
}SCSS
$custom: #2c4db6; $custom-light: #7a7ecd; $custom-dark: #000000;
JSON
{
"hex": "#2c4db6",
"rgb": {
"r": 44,
"g": 77,
"b": 182
},
"hsl": {
"h": 225.652,
"s": 61.062,
"l": 44.314
},
"oklch": {
"l": 0.46138,
"c": 0.17076,
"h": 266.4
},
"luminance": 0.09221
}Semantic roles & 50–950 ramp
primary
#2C4DB6
secondary
#C8B476
accent
#BE44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82