#2C4AB1#2C4AB1
#2C4AB1 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.168 H 267.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4AB1 |
|---|---|
| RGB | rgb(44, 74, 177) |
| HSL | hsl(226, 60%, 43%) |
| HSV | hsv(226, 75%, 69%) |
| CMYK | cmyk(75.1%, 58.2%, 0%, 30.6%) |
| CIE-LAB | lab(35.21, 25.98, -58.03) |
| CIE-LCH | lch(35.21, 63.58, 294.11°) |
| OKLab | oklab(45.12% -0.0088 -0.1675) |
| OKLCH | oklch(45.12% 0.168 267) |
| XYZ | xyz(11.4205, 8.6061, 42.6457) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.06
Sapphire
#0F52BA
ΔE00 3.89
Blue Blue
#2242C7
ΔE00 3.97
Sapphire (survey)
#2138AB
ΔE00 5.47
Cobalt (survey)
#1E488F
ΔE00 5.51
Blue (survey)
#0343DF
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4AB1 #B1932C
analogous
#2C8CB1 #2C4AB1 #502CB1
triadic
#2C4AB1 #B12C4A #4AB12C
tetradic
#2C4AB1 #B12C8C #B1932C #2CB150
square
#2C4AB1 #B12C8C #B1932C #2CB150
split-complementary
#2C4AB1 #B1502C #8CB12C
monochromatic
#14214F #203680 #2C4AB1 #4967D2 #7A90DE
Accessibility & contrast
On white
7.72
#2C4AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2C4AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4AB1
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4AB1 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c4ab1; /* rgb */ color: rgb(44, 74, 177); /* oklch */ color: oklch(45.1% 0.168 267.0);
Tailwind
colors: {
custom: {
50: '#797cc9',
500: '#2c4ab1',
950: '#000000',
},
}SCSS
$custom: #2c4ab1; $custom-light: #797cc9; $custom-dark: #000000;
JSON
{
"hex": "#2c4ab1",
"rgb": {
"r": 44,
"g": 74,
"b": 177
},
"hsl": {
"h": 226.466,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.45124,
"c": 0.16769,
"h": 267
},
"luminance": 0.08607
}Semantic roles & 50–950 ramp
primary
#2C4AB1
secondary
#C6B373
accent
#BF44E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82