#2C5AB8#2C5AB8
#2C5AB8 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.157 H 262.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5AB8 |
|---|---|
| RGB | rgb(44, 90, 184) |
| HSL | hsl(220, 61%, 45%) |
| HSV | hsv(220, 76%, 72%) |
| CMYK | cmyk(76.1%, 51.1%, 0%, 27.8%) |
| CIE-LAB | lab(40.09, 18.09, -54.24) |
| CIE-LCH | lch(40.09, 57.18, 288.44°) |
| OKLab | oklab(48.97% -0.0205 -0.1561) |
| OKLCH | oklch(48.97% 0.157 262.5) |
| XYZ | xyz(13.3435, 11.3070, 46.8173) |
| Luminance | 0.1131 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.77
Denim
#1560BD
ΔE00 3.24
Denim Blue
#3B5B92
ΔE00 4.81
Dusky Blue
#475F94
ΔE00 5.77
Dusk Blue
#26538D
ΔE00 5.91
French Blue
#436BAD
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5AB8 #B88A2C
analogous
#2CA0B8 #2C5AB8 #442CB8
triadic
#2C5AB8 #B82C5A #5AB82C
tetradic
#2C5AB8 #B82CA0 #B88A2C #2CB844
square
#2C5AB8 #B82CA0 #B88A2C #2CB844
split-complementary
#2C5AB8 #B8442C #A0B82C
monochromatic
#142A55 #204287 #2C5AB8 #4D79D4 #7E9EE0
Accessibility & contrast
On white
6.44
#2C5AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#2C5AB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5AB8
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5AB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5AB8 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E65BB
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2c5ab8; /* rgb */ color: rgb(44, 90, 184); /* oklch */ color: oklch(49.0% 0.157 262.5);
Tailwind
colors: {
custom: {
50: '#7988ce',
500: '#2c5ab8',
950: '#000000',
},
}SCSS
$custom: #2c5ab8; $custom-light: #7988ce; $custom-dark: #000000;
JSON
{
"hex": "#2c5ab8",
"rgb": {
"r": 44,
"g": 90,
"b": 184
},
"hsl": {
"h": 220.286,
"s": 61.404,
"l": 44.706
},
"oklch": {
"l": 0.48974,
"c": 0.1574,
"h": 262.5
},
"luminance": 0.11308
}Semantic roles & 50–950 ramp
primary
#2C5AB8
secondary
#C9AE77
accent
#B043E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82