#2C4CB5#2C4CB5
#2C4CB5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.171 H 266.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4CB5 |
|---|---|
| RGB | rgb(44, 76, 181) |
| HSL | hsl(226, 61%, 44%) |
| HSV | hsv(226, 76%, 71%) |
| CMYK | cmyk(75.7%, 58%, 0%, 29%) |
| CIE-LAB | lab(36.06, 26.16, -59.02) |
| CIE-LCH | lch(36.06, 64.56, 293.91°) |
| OKLab | oklab(45.86% -0.0101 -0.1703) |
| OKLCH | oklch(45.86% 0.171 266.6) |
| XYZ | xyz(11.9607, 9.0392, 44.8215) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.35
Cobalt
#0047AB
ΔE00 3.37
Blue Blue
#2242C7
ΔE00 4.03
Blue (survey)
#0343DF
ΔE00 5.85
Cobalt (survey)
#1E488F
ΔE00 5.91
Sapphire (survey)
#2138AB
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4CB5 #B5952C
analogous
#2C91B5 #2C4CB5 #502CB5
triadic
#2C4CB5 #B52C4C #4CB52C
tetradic
#2C4CB5 #B52C91 #B5952C #2CB550
square
#2C4CB5 #B52C91 #B5952C #2CB550
split-complementary
#2C4CB5 #B5502C #91B52C
monochromatic
#142353 #203784 #2C4CB5 #4B6BD3 #7C93DF
Accessibility & contrast
On white
7.48
#2C4CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2C4CB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4CB5
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4CB5 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2c4cb5; /* rgb */ color: rgb(44, 76, 181); /* oklch */ color: oklch(45.9% 0.171 266.6);
Tailwind
colors: {
custom: {
50: '#797dcc',
500: '#2c4cb5',
950: '#000000',
},
}SCSS
$custom: #2c4cb5; $custom-light: #797dcc; $custom-dark: #000000;
JSON
{
"hex": "#2c4cb5",
"rgb": {
"r": 44,
"g": 76,
"b": 181
},
"hsl": {
"h": 225.985,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.45856,
"c": 0.17064,
"h": 266.6
},
"luminance": 0.09041
}Semantic roles & 50–950 ramp
primary
#2C4CB5
secondary
#C8B475
accent
#BF44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82