#2C4AAD#2C4AAD
#2C4AAD is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.162 H 266.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4AAD |
|---|---|
| RGB | rgb(44, 74, 173) |
| HSL | hsl(226, 59%, 43%) |
| HSV | hsv(226, 75%, 68%) |
| CMYK | cmyk(74.6%, 57.2%, 0%, 32.2%) |
| CIE-LAB | lab(34.90, 24.47, -56.16) |
| CIE-LCH | lch(34.90, 61.26, 293.54°) |
| OKLab | oklab(44.79% -0.009 -0.162) |
| OKLCH | oklch(44.79% 0.162 266.8) |
| XYZ | xyz(11.0277, 8.4490, 40.5767) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.80
Sapphire
#0F52BA
ΔE00 3.93
Blue Blue
#2242C7
ΔE00 4.46
Cobalt (survey)
#1E488F
ΔE00 4.97
Sapphire (survey)
#2138AB
ΔE00 5.52
Blueberry
#464196
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4AAD #AD8F2C
analogous
#2C8AAD #2C4AAD #4F2CAD
triadic
#2C4AAD #AD2C4A #4AAD2C
tetradic
#2C4AAD #AD2C8A #AD8F2C #2CAD4F
square
#2C4AAD #AD2C8A #AD8F2C #2CAD4F
split-complementary
#2C4AAD #AD4F2C #8AAD2C
monochromatic
#13204B #20357C #2C4AAD #4666D0 #778FDC
Accessibility & contrast
On white
7.81
#2C4AAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2C4AAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4AAD
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4AAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4AAD | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2c4aad; /* rgb */ color: rgb(44, 74, 173); /* oklch */ color: oklch(44.8% 0.162 266.8);
Tailwind
colors: {
custom: {
50: '#787cc6',
500: '#2c4aad',
950: '#000000',
},
}SCSS
$custom: #2c4aad; $custom-light: #787cc6; $custom-dark: #000000;
JSON
{
"hex": "#2c4aad",
"rgb": {
"r": 44,
"g": 74,
"b": 173
},
"hsl": {
"h": 226.047,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.44791,
"c": 0.16223,
"h": 266.8
},
"luminance": 0.0845
}Semantic roles & 50–950 ramp
primary
#2C4AAD
secondary
#C4B171
accent
#BE45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82