#2C5AB4#2C5AB4
#2C5AB4 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.152 H 262.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5AB4 |
|---|---|
| RGB | rgb(44, 90, 180) |
| HSL | hsl(220, 61%, 44%) |
| HSV | hsv(220, 76%, 71%) |
| CMYK | cmyk(75.6%, 50%, 0%, 29.4%) |
| CIE-LAB | lab(39.82, 16.56, -52.34) |
| CIE-LCH | lch(39.82, 54.90, 287.56°) |
| OKLab | oklab(48.68% -0.021 -0.1504) |
| OKLCH | oklch(48.68% 0.152 262) |
| XYZ | xyz(12.9301, 11.1416, 44.6403) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.82
Denim
#1560BD
ΔE00 3.16
Denim Blue
#3B5B92
ΔE00 4.35
Dusk Blue
#26538D
ΔE00 5.42
Dusky Blue
#475F94
ΔE00 5.45
Light Navy Blue
#2E5A88
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5AB4 #B4862C
analogous
#2C9EB4 #2C5AB4 #422CB4
triadic
#2C5AB4 #B42C5A #5AB42C
tetradic
#2C5AB4 #B42C9E #B4862C #2CB442
square
#2C5AB4 #B42C9E #B4862C #2CB442
split-complementary
#2C5AB4 #B4422C #9EB42C
monochromatic
#142952 #204183 #2C5AB4 #4A79D3 #7C9DDF
Accessibility & contrast
On white
6.50
#2C5AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#2C5AB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5AB4
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5AB4 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2464B7
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2c5ab4; /* rgb */ color: rgb(44, 90, 180); /* oklch */ color: oklch(48.7% 0.152 262.0);
Tailwind
colors: {
custom: {
50: '#7888cb',
500: '#2c5ab4',
950: '#000000',
},
}SCSS
$custom: #2c5ab4; $custom-light: #7888cb; $custom-dark: #000000;
JSON
{
"hex": "#2c5ab4",
"rgb": {
"r": 44,
"g": 90,
"b": 180
},
"hsl": {
"h": 219.706,
"s": 60.714,
"l": 43.922
},
"oklch": {
"l": 0.48677,
"c": 0.15191,
"h": 262
},
"luminance": 0.11143
}Semantic roles & 50–950 ramp
primary
#2C5AB4
secondary
#C7AB75
accent
#AE44E4
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82