#2C5AB7#2C5AB7
#2C5AB7 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.156 H 262.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5AB7 |
|---|---|
| RGB | rgb(44, 90, 183) |
| HSL | hsl(220, 61%, 45%) |
| HSV | hsv(220, 76%, 72%) |
| CMYK | cmyk(76%, 50.8%, 0%, 28.2%) |
| CIE-LAB | lab(40.02, 17.70, -53.77) |
| CIE-LCH | lch(40.02, 56.61, 288.23°) |
| OKLab | oklab(48.9% -0.0206 -0.1547) |
| OKLCH | oklch(48.9% 0.156 262.4) |
| XYZ | xyz(13.2391, 11.2652, 46.2672) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.77
Denim
#1560BD
ΔE00 3.21
Denim Blue
#3B5B92
ΔE00 4.69
Dusky Blue
#475F94
ΔE00 5.69
Dusk Blue
#26538D
ΔE00 5.78
Light Navy Blue
#2E5A88
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5AB7 #B7892C
analogous
#2CA0B7 #2C5AB7 #442CB7
triadic
#2C5AB7 #B72C5A #5AB72C
tetradic
#2C5AB7 #B72CA0 #B7892C #2CB744
square
#2C5AB7 #B72CA0 #B7892C #2CB744
split-complementary
#2C5AB7 #B7442C #A0B72C
monochromatic
#142954 #204286 #2C5AB7 #4C79D4 #7E9EE0
Accessibility & contrast
On white
6.45
#2C5AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#2C5AB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5AB7
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5AB7 | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2065BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2c5ab7; /* rgb */ color: rgb(44, 90, 183); /* oklch */ color: oklch(48.9% 0.156 262.4);
Tailwind
colors: {
custom: {
50: '#7988cd',
500: '#2c5ab7',
950: '#000000',
},
}SCSS
$custom: #2c5ab7; $custom-light: #7988cd; $custom-dark: #000000;
JSON
{
"hex": "#2c5ab7",
"rgb": {
"r": 44,
"g": 90,
"b": 183
},
"hsl": {
"h": 220.144,
"s": 61.233,
"l": 44.51
},
"oklch": {
"l": 0.489,
"c": 0.15603,
"h": 262.4
},
"luminance": 0.11267
}Semantic roles & 50–950 ramp
primary
#2C5AB7
secondary
#C8AD76
accent
#AF43E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82