#2B50C4#2B50C4
#2B50C4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.186 H 265.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2B50C4 |
|---|---|
| RGB | rgb(43, 80, 196) |
| HSL | hsl(225, 64%, 47%) |
| HSV | hsv(225, 78%, 77%) |
| CMYK | cmyk(78.1%, 59.2%, 0%, 23.1%) |
| CIE-LAB | lab(38.26, 29.07, -64.23) |
| CIE-LCH | lch(38.26, 70.50, 294.35°) |
| OKLab | oklab(47.86% -0.0132 -0.1856) |
| OKLCH | oklch(47.86% 0.186 265.9) |
| XYZ | xyz(13.8252, 10.2348, 53.4607) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.19
Blue Blue
#2242C7
ΔE00 4.31
Blue (survey)
#0343DF
ΔE00 4.96
Cobalt
#0047AB
ΔE00 5.06
Warm Blue
#4B57DB
ΔE00 5.42
Azul
#1D5DEC
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B50C4 #C49F2B
analogous
#2B9DC4 #2B50C4 #522BC4
triadic
#2B50C4 #C42B50 #50C42B
tetradic
#2B50C4 #C42B9D #C49F2B #2BC452
square
#2B50C4 #C42B9D #C49F2B #2BC452
split-complementary
#2B50C4 #C4522B #9DC42B
monochromatic
#152760 #203C92 #2B50C4 #5373D9 #859CE4
Accessibility & contrast
On white
6.89
#2B50C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#2B50C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B50C4
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B50C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B50C4 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 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: #2b50c4; /* rgb */ color: rgb(43, 80, 196); /* oklch */ color: oklch(47.9% 0.186 265.9);
Tailwind
colors: {
custom: {
50: '#7c80d7',
500: '#2b50c4',
950: '#000000',
},
}SCSS
$custom: #2b50c4; $custom-light: #7c80d7; $custom-dark: #000000;
JSON
{
"hex": "#2b50c4",
"rgb": {
"r": 43,
"g": 80,
"b": 196
},
"hsl": {
"h": 225.49,
"s": 64.017,
"l": 46.863
},
"oklch": {
"l": 0.47864,
"c": 0.18607,
"h": 265.9
},
"luminance": 0.10236
}Semantic roles & 50–950 ramp
primary
#2B50C4
secondary
#CEBA7D
accent
#BF41E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83