#2C5AB6#2C5AB6
#2C5AB6 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.155 H 262.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5AB6 |
|---|---|
| RGB | rgb(44, 90, 182) |
| HSL | hsl(220, 61%, 44%) |
| HSV | hsv(220, 76%, 71%) |
| CMYK | cmyk(75.8%, 50.5%, 0%, 28.6%) |
| CIE-LAB | lab(39.95, 17.32, -53.29) |
| CIE-LCH | lch(39.95, 56.04, 288.01°) |
| OKLab | oklab(48.83% -0.0208 -0.1533) |
| OKLCH | oklch(48.83% 0.155 262.3) |
| XYZ | xyz(13.1353, 11.2237, 45.7210) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.78
Denim
#1560BD
ΔE00 3.19
Denim Blue
#3B5B92
ΔE00 4.58
Dusky Blue
#475F94
ΔE00 5.61
Dusk Blue
#26538D
ΔE00 5.66
Light Navy Blue
#2E5A88
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5AB6 #B6882C
analogous
#2C9FB6 #2C5AB6 #432CB6
triadic
#2C5AB6 #B62C5A #5AB62C
tetradic
#2C5AB6 #B62C9F #B6882C #2CB643
square
#2C5AB6 #B62C9F #B6882C #2CB643
split-complementary
#2C5AB6 #B6432C #9FB62C
monochromatic
#142953 #204285 #2C5AB6 #4C79D4 #7D9EE0
Accessibility & contrast
On white
6.47
#2C5AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#2C5AB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5AB6
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5AB6 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2265B9
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2c5ab6; /* rgb */ color: rgb(44, 90, 182); /* oklch */ color: oklch(48.8% 0.155 262.3);
Tailwind
colors: {
custom: {
50: '#7988cc',
500: '#2c5ab6',
950: '#000000',
},
}SCSS
$custom: #2c5ab6; $custom-light: #7988cc; $custom-dark: #000000;
JSON
{
"hex": "#2c5ab6",
"rgb": {
"r": 44,
"g": 90,
"b": 182
},
"hsl": {
"h": 220,
"s": 61.062,
"l": 44.314
},
"oklch": {
"l": 0.48825,
"c": 0.15466,
"h": 262.3
},
"luminance": 0.11225
}Semantic roles & 50–950 ramp
primary
#2C5AB6
secondary
#C8AD76
accent
#AF44E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82