#2C50B6#2C50B6
#2C50B6 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.7% C 0.167 H 265.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2C50B6 |
|---|---|
| RGB | rgb(44, 80, 182) |
| HSL | hsl(224, 61%, 44%) |
| HSV | hsv(224, 76%, 71%) |
| CMYK | cmyk(75.8%, 56%, 0%, 28.6%) |
| CIE-LAB | lab(37.20, 23.90, -57.75) |
| CIE-LCH | lch(37.20, 62.50, 292.49°) |
| OKLab | oklab(46.74% -0.013 -0.1665) |
| OKLCH | oklch(46.74% 0.167 265.5) |
| XYZ | xyz(12.3479, 9.6488, 45.4585) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.34
Cobalt
#0047AB
ΔE00 3.81
Blue Blue
#2242C7
ΔE00 5.11
Cobalt (survey)
#1E488F
ΔE00 6.03
Denim Blue
#3B5B92
ΔE00 6.13
Dusk Blue
#26538D
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C50B6 #B6922C
analogous
#2C95B6 #2C50B6 #4D2CB6
triadic
#2C50B6 #B62C50 #50B62C
tetradic
#2C50B6 #B62C95 #B6922C #2CB64D
square
#2C50B6 #B62C95 #B6922C #2CB64D
split-complementary
#2C50B6 #B64D2C #95B62C
monochromatic
#142553 #203A85 #2C50B6 #4C6FD4 #7D97E0
Accessibility & contrast
On white
7.17
#2C50B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2C50B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C50B6
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C50B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C50B6 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2c50b6; /* rgb */ color: rgb(44, 80, 182); /* oklch */ color: oklch(46.7% 0.167 265.5);
Tailwind
colors: {
custom: {
50: '#7980cd',
500: '#2c50b6',
950: '#000000',
},
}SCSS
$custom: #2c50b6; $custom-light: #7980cd; $custom-dark: #000000;
JSON
{
"hex": "#2c50b6",
"rgb": {
"r": 44,
"g": 80,
"b": 182
},
"hsl": {
"h": 224.348,
"s": 61.062,
"l": 44.314
},
"oklch": {
"l": 0.4674,
"c": 0.16705,
"h": 265.5
},
"luminance": 0.0965
}Semantic roles & 50–950 ramp
primary
#2C50B6
secondary
#C8B376
accent
#BA44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82