#2C50C4#2C50C4
#2C50C4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.186 H 266.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2C50C4 |
|---|---|
| RGB | rgb(44, 80, 196) |
| HSL | hsl(226, 63%, 47%) |
| HSV | hsv(226, 78%, 77%) |
| CMYK | cmyk(77.6%, 59.2%, 0%, 23.1%) |
| CIE-LAB | lab(38.30, 29.18, -64.16) |
| CIE-LCH | lch(38.30, 70.49, 294.45°) |
| OKLab | oklab(47.9% -0.0124 -0.1854) |
| OKLCH | oklch(47.9% 0.186 266.2) |
| XYZ | xyz(13.8677, 10.2567, 53.4627) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.27
Blue Blue
#2242C7
ΔE00 4.29
Blue (survey)
#0343DF
ΔE00 4.95
Cobalt
#0047AB
ΔE00 5.12
Warm Blue
#4B57DB
ΔE00 5.35
Azul
#1D5DEC
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C50C4 #C4A02C
analogous
#2C9CC4 #2C50C4 #542CC4
triadic
#2C50C4 #C42C50 #50C42C
tetradic
#2C50C4 #C42C9C #C4A02C #2CC454
square
#2C50C4 #C42C9C #C4A02C #2CC454
split-complementary
#2C50C4 #C4542C #9CC42C
monochromatic
#162760 #213C92 #2C50C4 #5474D9 #869DE4
Accessibility & contrast
On white
6.88
#2C50C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#2C50C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C50C4
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C50C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C50C4 | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2c50c4; /* rgb */ color: rgb(44, 80, 196); /* oklch */ color: oklch(47.9% 0.186 266.2);
Tailwind
colors: {
custom: {
50: '#7d80d7',
500: '#2c50c4',
950: '#000000',
},
}SCSS
$custom: #2c50c4; $custom-light: #7d80d7; $custom-dark: #000000;
JSON
{
"hex": "#2c50c4",
"rgb": {
"r": 44,
"g": 80,
"b": 196
},
"hsl": {
"h": 225.789,
"s": 63.333,
"l": 47.059
},
"oklch": {
"l": 0.47903,
"c": 0.1858,
"h": 266.2
},
"luminance": 0.10258
}Semantic roles & 50–950 ramp
primary
#2C50C4
secondary
#CDBB7E
accent
#BF41E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83