#2C4AAB#2C4AAB
#2C4AAB is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.159 H 266.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4AAB |
|---|---|
| RGB | rgb(44, 74, 171) |
| HSL | hsl(226, 59%, 42%) |
| HSV | hsv(226, 74%, 67%) |
| CMYK | cmyk(74.3%, 56.7%, 0%, 32.9%) |
| CIE-LAB | lab(34.75, 23.71, -55.23) |
| CIE-LCH | lch(34.75, 60.10, 293.23°) |
| OKLab | oklab(44.63% -0.0091 -0.1592) |
| OKLCH | oklch(44.63% 0.159 266.7) |
| XYZ | xyz(10.8356, 8.3721, 39.5651) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.71
Sapphire
#0F52BA
ΔE00 3.98
Cobalt (survey)
#1E488F
ΔE00 4.70
Blue Blue
#2242C7
ΔE00 4.71
Sapphire (survey)
#2138AB
ΔE00 5.58
Dusk Blue
#26538D
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4AAB #AB8D2C
analogous
#2C8AAB #2C4AAB #4E2CAB
triadic
#2C4AAB #AB2C4A #4AAB2C
tetradic
#2C4AAB #AB2C8A #AB8D2C #2CAB4E
square
#2C4AAB #AB2C8A #AB8D2C #2CAB4E
split-complementary
#2C4AAB #AB4E2C #8AAB2C
monochromatic
#13204A #1F357A #2C4AAB #4566CF #768EDC
Accessibility & contrast
On white
7.85
#2C4AAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2C4AAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4AAB
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4AAB | 1.00 | 7.85 | 2.67 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2c4aab; /* rgb */ color: rgb(44, 74, 171); /* oklch */ color: oklch(44.6% 0.159 266.7);
Tailwind
colors: {
custom: {
50: '#777cc5',
500: '#2c4aab',
950: '#000000',
},
}SCSS
$custom: #2c4aab; $custom-light: #777cc5; $custom-dark: #000000;
JSON
{
"hex": "#2c4aab",
"rgb": {
"r": 44,
"g": 74,
"b": 171
},
"hsl": {
"h": 225.827,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.44626,
"c": 0.15948,
"h": 266.7
},
"luminance": 0.08373
}Semantic roles & 50–950 ramp
primary
#2C4AAB
secondary
#C3B06F
accent
#BD46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82