#2C5AB5#2C5AB5
#2C5AB5 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.153 H 262.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5AB5 |
|---|---|
| RGB | rgb(44, 90, 181) |
| HSL | hsl(220, 61%, 44%) |
| HSV | hsv(220, 76%, 71%) |
| CMYK | cmyk(75.7%, 50.3%, 0%, 29%) |
| CIE-LAB | lab(39.89, 16.94, -52.82) |
| CIE-LCH | lch(39.89, 55.47, 287.78°) |
| OKLab | oklab(48.75% -0.0209 -0.1519) |
| OKLCH | oklch(48.75% 0.153 262.2) |
| XYZ | xyz(13.0324, 11.1825, 45.1787) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.80
Denim
#1560BD
ΔE00 3.17
Denim Blue
#3B5B92
ΔE00 4.47
Dusky Blue
#475F94
ΔE00 5.53
Dusk Blue
#26538D
ΔE00 5.54
Light Navy Blue
#2E5A88
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5AB5 #B5872C
analogous
#2C9FB5 #2C5AB5 #432CB5
triadic
#2C5AB5 #B52C5A #5AB52C
tetradic
#2C5AB5 #B52C9F #B5872C #2CB543
square
#2C5AB5 #B52C9F #B5872C #2CB543
split-complementary
#2C5AB5 #B5432C #9FB52C
monochromatic
#142953 #204284 #2C5AB5 #4B79D3 #7C9DDF
Accessibility & contrast
On white
6.49
#2C5AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#2C5AB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5AB5
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5AB5 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2365B8
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2c5ab5; /* rgb */ color: rgb(44, 90, 181); /* oklch */ color: oklch(48.8% 0.153 262.2);
Tailwind
colors: {
custom: {
50: '#7988cc',
500: '#2c5ab5',
950: '#000000',
},
}SCSS
$custom: #2c5ab5; $custom-light: #7988cc; $custom-dark: #000000;
JSON
{
"hex": "#2c5ab5",
"rgb": {
"r": 44,
"g": 90,
"b": 181
},
"hsl": {
"h": 219.854,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.48751,
"c": 0.15329,
"h": 262.2
},
"luminance": 0.11184
}Semantic roles & 50–950 ramp
primary
#2C5AB5
secondary
#C8AC75
accent
#AE44E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82