#2C4AB6#2C4AB6
#2C4AB6 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.174 H 267.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4AB6 |
|---|---|
| RGB | rgb(44, 74, 182) |
| HSL | hsl(227, 61%, 44%) |
| HSV | hsv(227, 76%, 71%) |
| CMYK | cmyk(75.8%, 59.3%, 0%, 28.6%) |
| CIE-LAB | lab(35.61, 27.86, -60.34) |
| CIE-LCH | lch(35.61, 66.46, 294.78°) |
| OKLab | oklab(45.55% -0.0087 -0.1742) |
| OKLCH | oklch(45.55% 0.174 267.1) |
| XYZ | xyz(11.9280, 8.8091, 45.3186) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.40
Cobalt
#0047AB
ΔE00 3.49
Sapphire
#0F52BA
ΔE00 3.95
Blue (survey)
#0343DF
ΔE00 5.44
Sapphire (survey)
#2138AB
ΔE00 5.50
Ocean Blue
#4F42B5
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4AB6 #B6982C
analogous
#2C8FB6 #2C4AB6 #532CB6
triadic
#2C4AB6 #B62C4A #4AB62C
tetradic
#2C4AB6 #B62C8F #B6982C #2CB653
square
#2C4AB6 #B62C8F #B6982C #2CB653
split-complementary
#2C4AB6 #B6532C #8FB62C
monochromatic
#142253 #203685 #2C4AB6 #4C69D4 #7D92E0
Accessibility & contrast
On white
7.60
#2C4AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2C4AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4AB6
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4AB6 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c4ab6; /* rgb */ color: rgb(44, 74, 182); /* oklch */ color: oklch(45.5% 0.174 267.1);
Tailwind
colors: {
custom: {
50: '#7a7ccd',
500: '#2c4ab6',
950: '#000000',
},
}SCSS
$custom: #2c4ab6; $custom-light: #7a7ccd; $custom-dark: #000000;
JSON
{
"hex": "#2c4ab6",
"rgb": {
"r": 44,
"g": 74,
"b": 182
},
"hsl": {
"h": 226.957,
"s": 61.062,
"l": 44.314
},
"oklch": {
"l": 0.45548,
"c": 0.17446,
"h": 267.1
},
"luminance": 0.0881
}Semantic roles & 50–950 ramp
primary
#2C4AB6
secondary
#C8B676
accent
#C144E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82