#2C4ABA#2C4ABA
#2C4ABA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.180 H 267.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4ABA |
|---|---|
| RGB | rgb(44, 74, 186) |
| HSL | hsl(227, 62%, 45%) |
| HSV | hsv(227, 76%, 73%) |
| CMYK | cmyk(76.3%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(35.94, 29.35, -62.16) |
| CIE-LCH | lch(35.94, 68.74, 295.28°) |
| OKLab | oklab(45.89% -0.0086 -0.1796) |
| OKLCH | oklch(45.89% 0.18 267.2) |
| XYZ | xyz(12.3473, 8.9768, 47.5268) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.00
Cobalt
#0047AB
ΔE00 3.88
Sapphire
#0F52BA
ΔE00 4.08
Blue (survey)
#0343DF
ΔE00 4.92
Sapphire (survey)
#2138AB
ΔE00 5.59
Ocean Blue
#4F42B5
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4ABA #BA9C2C
analogous
#2C91BA #2C4ABA #552CBA
triadic
#2C4ABA #BA2C4A #4ABA2C
tetradic
#2C4ABA #BA2C91 #BA9C2C #2CBA55
square
#2C4ABA #BA2C91 #BA9C2C #2CBA55
split-complementary
#2C4ABA #BA552C #91BA2C
monochromatic
#152357 #203689 #2C4ABA #4E6BD5 #8094E1
Accessibility & contrast
On white
7.51
#2C4ABA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#2C4ABA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4ABA
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4ABA | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2c4aba; /* rgb */ color: rgb(44, 74, 186); /* oklch */ color: oklch(45.9% 0.180 267.2);
Tailwind
colors: {
custom: {
50: '#7b7cd0',
500: '#2c4aba',
950: '#000000',
},
}SCSS
$custom: #2c4aba; $custom-light: #7b7cd0; $custom-dark: #000000;
JSON
{
"hex": "#2c4aba",
"rgb": {
"r": 44,
"g": 74,
"b": 186
},
"hsl": {
"h": 227.324,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.45892,
"c": 0.17981,
"h": 267.2
},
"luminance": 0.08978
}Semantic roles & 50–950 ramp
primary
#2C4ABA
secondary
#CAB878
accent
#C343E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82