#2C5DC2#2C5DC2
#2C5DC2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.167 H 262.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5DC2 |
|---|---|
| RGB | rgb(44, 93, 194) |
| HSL | hsl(220, 63%, 47%) |
| HSV | hsv(220, 77%, 76%) |
| CMYK | cmyk(77.3%, 52.1%, 0%, 23.9%) |
| CIE-LAB | lab(41.62, 19.94, -57.60) |
| CIE-LCH | lch(41.62, 60.95, 289.09°) |
| OKLab | oklab(50.36% -0.0217 -0.1659) |
| OKLCH | oklch(50.36% 0.167 262.6) |
| XYZ | xyz(14.6872, 12.2575, 52.6203) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.90
Sapphire
#0F52BA
ΔE00 3.85
Azul
#1D5DEC
ΔE00 5.16
French Blue
#436BAD
ΔE00 5.32
Denim Blue
#3B5B92
ΔE00 5.93
Mid Blue
#276AB3
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5DC2 #C2912C
analogous
#2CA8C2 #2C5DC2 #462CC2
triadic
#2C5DC2 #C22C5D #5DC22C
tetradic
#2C5DC2 #C22CA8 #C2912C #2CC246
square
#2C5DC2 #C22CA8 #C2912C #2CC246
split-complementary
#2C5DC2 #C2462C #A8C22C
monochromatic
#152D5E #214590 #2C5DC2 #537FD8 #85A4E3
Accessibility & contrast
On white
6.08
#2C5DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#2C5DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5DC2
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5DC2 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1769C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2c5dc2; /* rgb */ color: rgb(44, 93, 194); /* oklch */ color: oklch(50.4% 0.167 262.6);
Tailwind
colors: {
custom: {
50: '#7b8ad5',
500: '#2c5dc2',
950: '#000000',
},
}SCSS
$custom: #2c5dc2; $custom-light: #7b8ad5; $custom-dark: #000000;
JSON
{
"hex": "#2c5dc2",
"rgb": {
"r": 44,
"g": 93,
"b": 194
},
"hsl": {
"h": 220.4,
"s": 63.025,
"l": 46.667
},
"oklch": {
"l": 0.50362,
"c": 0.16729,
"h": 262.6
},
"luminance": 0.12259
}Semantic roles & 50–950 ramp
primary
#2C5DC2
secondary
#CDB37D
accent
#B042E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83