#2C4DAD#2C4DAD
#2C4DAD is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.158 H 265.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4DAD |
|---|---|
| RGB | rgb(44, 77, 173) |
| HSL | hsl(225, 59%, 43%) |
| HSV | hsv(225, 75%, 68%) |
| CMYK | cmyk(74.6%, 55.5%, 0%, 32.2%) |
| CIE-LAB | lab(35.71, 22.47, -54.85) |
| CIE-LCH | lch(35.71, 59.27, 292.28°) |
| OKLab | oklab(45.4% -0.0113 -0.1581) |
| OKLCH | oklch(45.4% 0.158 265.9) |
| XYZ | xyz(11.2328, 8.8591, 40.6451) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.91
Sapphire
#0F52BA
ΔE00 3.11
Cobalt (survey)
#1E488F
ΔE00 4.82
Blue Blue
#2242C7
ΔE00 5.17
Dusk Blue
#26538D
ΔE00 5.77
Denim Blue
#3B5B92
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4DAD #AD8C2C
analogous
#2C8EAD #2C4DAD #4B2CAD
triadic
#2C4DAD #AD2C4D #4DAD2C
tetradic
#2C4DAD #AD2C8E #AD8C2C #2CAD4B
square
#2C4DAD #AD2C8E #AD8C2C #2CAD4B
split-complementary
#2C4DAD #AD4B2C #8EAD2C
monochromatic
#13224B #20377C #2C4DAD #4669D0 #7791DC
Accessibility & contrast
On white
7.58
#2C4DAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2C4DAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4DAD
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4DAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4DAD | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c4dad; /* rgb */ color: rgb(44, 77, 173); /* oklch */ color: oklch(45.4% 0.158 265.9);
Tailwind
colors: {
custom: {
50: '#787ec6',
500: '#2c4dad',
950: '#000000',
},
}SCSS
$custom: #2c4dad; $custom-light: #787ec6; $custom-dark: #000000;
JSON
{
"hex": "#2c4dad",
"rgb": {
"r": 44,
"g": 77,
"b": 173
},
"hsl": {
"h": 224.651,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.454,
"c": 0.15846,
"h": 265.9
},
"luminance": 0.0886
}Semantic roles & 50–950 ramp
primary
#2C4DAD
secondary
#C4AF71
accent
#BA45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82