#2C5AAD#2C5AAD
#2C5AAD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.142 H 261.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5AAD |
|---|---|
| RGB | rgb(44, 90, 173) |
| HSL | hsl(219, 59%, 43%) |
| HSV | hsv(219, 75%, 68%) |
| CMYK | cmyk(74.6%, 48%, 0%, 32.2%) |
| CIE-LAB | lab(39.35, 13.88, -48.97) |
| CIE-LCH | lch(39.35, 50.90, 285.83°) |
| OKLab | oklab(48.17% -0.022 -0.1405) |
| OKLCH | oklch(48.17% 0.142 261.1) |
| XYZ | xyz(12.2350, 10.8636, 40.9791) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.13
Denim
#1560BD
ΔE00 3.23
Denim Blue
#3B5B92
ΔE00 3.60
Dusk Blue
#26538D
ΔE00 4.59
Light Navy Blue
#2E5A88
ΔE00 4.74
Dusky Blue
#475F94
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5AAD #AD7F2C
analogous
#2C9AAD #2C5AAD #3F2CAD
triadic
#2C5AAD #AD2C5A #5AAD2C
tetradic
#2C5AAD #AD2C9A #AD7F2C #2CAD3F
square
#2C5AAD #AD2C9A #AD7F2C #2CAD3F
split-complementary
#2C5AAD #AD3F2C #9AAD2C
monochromatic
#13274B #20417C #2C5AAD #4677D0 #779BDC
Accessibility & contrast
On white
6.62
#2C5AAD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#2C5AAD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5AAD
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5AAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5AAD | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D63B0
Deuteranopia (green-blind)
#0757AB
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2c5aad; /* rgb */ color: rgb(44, 90, 173); /* oklch */ color: oklch(48.2% 0.142 261.1);
Tailwind
colors: {
custom: {
50: '#7788c6',
500: '#2c5aad',
950: '#000000',
},
}SCSS
$custom: #2c5aad; $custom-light: #7788c6; $custom-dark: #000000;
JSON
{
"hex": "#2c5aad",
"rgb": {
"r": 44,
"g": 90,
"b": 173
},
"hsl": {
"h": 218.605,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.48169,
"c": 0.14225,
"h": 261.1
},
"luminance": 0.10865
}Semantic roles & 50–950 ramp
primary
#2C5AAD
secondary
#C4A671
accent
#AA45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82