#2B50C3#2B50C3
#2B50C3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.185 H 265.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2B50C3 |
|---|---|
| RGB | rgb(43, 80, 195) |
| HSL | hsl(225, 64%, 47%) |
| HSV | hsv(225, 78%, 76%) |
| CMYK | cmyk(77.9%, 59%, 0%, 23.5%) |
| CIE-LAB | lab(38.18, 28.70, -63.78) |
| CIE-LCH | lch(38.18, 69.94, 294.23°) |
| OKLab | oklab(47.78% -0.0132 -0.1843) |
| OKLCH | oklch(47.78% 0.185 265.9) |
| XYZ | xyz(13.7118, 10.1895, 52.8633) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.09
Blue Blue
#2242C7
ΔE00 4.34
Cobalt
#0047AB
ΔE00 4.95
Blue (survey)
#0343DF
ΔE00 5.06
Warm Blue
#4B57DB
ΔE00 5.53
Azul
#1D5DEC
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B50C3 #C39E2B
analogous
#2B9CC3 #2B50C3 #522BC3
triadic
#2B50C3 #C32B50 #50C32B
tetradic
#2B50C3 #C32B9C #C39E2B #2BC352
square
#2B50C3 #C32B9C #C39E2B #2BC352
split-complementary
#2B50C3 #C3522B #9CC32B
monochromatic
#15275F #203B91 #2B50C3 #5273D9 #849CE4
Accessibility & contrast
On white
6.91
#2B50C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#2B50C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B50C3
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B50C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B50C3 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2b50c3; /* rgb */ color: rgb(43, 80, 195); /* oklch */ color: oklch(47.8% 0.185 265.9);
Tailwind
colors: {
custom: {
50: '#7c80d6',
500: '#2b50c3',
950: '#000000',
},
}SCSS
$custom: #2b50c3; $custom-light: #7c80d6; $custom-dark: #000000;
JSON
{
"hex": "#2b50c3",
"rgb": {
"r": 43,
"g": 80,
"b": 195
},
"hsl": {
"h": 225.395,
"s": 63.866,
"l": 46.667
},
"oklch": {
"l": 0.47779,
"c": 0.18474,
"h": 265.9
},
"luminance": 0.10191
}Semantic roles & 50–950 ramp
primary
#2B50C3
secondary
#CDBA7D
accent
#BE41E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83