#2C4BB0#2C4BB0
#2C4BB0 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.165 H 266.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4BB0 |
|---|---|
| RGB | rgb(44, 75, 176) |
| HSL | hsl(226, 60%, 43%) |
| HSV | hsv(226, 75%, 69%) |
| CMYK | cmyk(75%, 57.4%, 0%, 31%) |
| CIE-LAB | lab(35.40, 24.94, -57.13) |
| CIE-LCH | lch(35.40, 62.34, 293.58°) |
| OKLab | oklab(45.24% -0.0096 -0.1648) |
| OKLCH | oklch(45.24% 0.165 266.7) |
| XYZ | xyz(11.3885, 8.7010, 42.1451) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.97
Sapphire
#0F52BA
ΔE00 3.60
Blue Blue
#2242C7
ΔE00 4.32
Cobalt (survey)
#1E488F
ΔE00 5.30
Sapphire (survey)
#2138AB
ΔE00 5.81
Blue (survey)
#0343DF
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4BB0 #B0912C
analogous
#2C8DB0 #2C4BB0 #4F2CB0
triadic
#2C4BB0 #B02C4B #4BB02C
tetradic
#2C4BB0 #B02C8D #B0912C #2CB04F
square
#2C4BB0 #B02C8D #B0912C #2CB04F
split-complementary
#2C4BB0 #B04F2C #8DB02C
monochromatic
#14214E #20367F #2C4BB0 #4868D1 #7991DD
Accessibility & contrast
On white
7.66
#2C4BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2C4BB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4BB0
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4BB0 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c4bb0; /* rgb */ color: rgb(44, 75, 176); /* oklch */ color: oklch(45.2% 0.165 266.7);
Tailwind
colors: {
custom: {
50: '#787cc8',
500: '#2c4bb0',
950: '#000000',
},
}SCSS
$custom: #2c4bb0; $custom-light: #787cc8; $custom-dark: #000000;
JSON
{
"hex": "#2c4bb0",
"rgb": {
"r": 44,
"g": 75,
"b": 176
},
"hsl": {
"h": 225.909,
"s": 60,
"l": 43.137
},
"oklch": {
"l": 0.4524,
"c": 0.16509,
"h": 266.7
},
"luminance": 0.08702
}Semantic roles & 50–950 ramp
primary
#2C4BB0
secondary
#C6B272
accent
#BE45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82