#2C4BB5#2C4BB5
#2C4BB5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.172 H 266.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4BB5 |
|---|---|
| RGB | rgb(44, 75, 181) |
| HSL | hsl(226, 61%, 44%) |
| HSV | hsv(226, 76%, 71%) |
| CMYK | cmyk(75.7%, 58.6%, 0%, 29%) |
| CIE-LAB | lab(35.80, 26.82, -59.45) |
| CIE-LCH | lch(35.80, 65.22, 294.28°) |
| OKLab | oklab(45.66% -0.0094 -0.1716) |
| OKLCH | oklch(45.66% 0.172 266.9) |
| XYZ | xyz(11.8924, 8.9025, 44.7987) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.37
Sapphire
#0F52BA
ΔE00 3.63
Blue Blue
#2242C7
ΔE00 3.76
Blue (survey)
#0343DF
ΔE00 5.70
Sapphire (survey)
#2138AB
ΔE00 5.80
Cobalt (survey)
#1E488F
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4BB5 #B5962C
analogous
#2C90B5 #2C4BB5 #512CB5
triadic
#2C4BB5 #B52C4B #4BB52C
tetradic
#2C4BB5 #B52C90 #B5962C #2CB551
square
#2C4BB5 #B52C90 #B5962C #2CB551
split-complementary
#2C4BB5 #B5512C #90B52C
monochromatic
#142253 #203784 #2C4BB5 #4B6AD3 #7C93DF
Accessibility & contrast
On white
7.55
#2C4BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2C4BB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4BB5
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4BB5 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c4bb5; /* rgb */ color: rgb(44, 75, 181); /* oklch */ color: oklch(45.7% 0.172 266.9);
Tailwind
colors: {
custom: {
50: '#7a7ccc',
500: '#2c4bb5',
950: '#000000',
},
}SCSS
$custom: #2c4bb5; $custom-light: #7a7ccc; $custom-dark: #000000;
JSON
{
"hex": "#2c4bb5",
"rgb": {
"r": 44,
"g": 75,
"b": 181
},
"hsl": {
"h": 226.423,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.45658,
"c": 0.17188,
"h": 266.9
},
"luminance": 0.08904
}Semantic roles & 50–950 ramp
primary
#2C4BB5
secondary
#C8B575
accent
#C044E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82