#2B50B9#2B50B9
#2B50B9 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.171 H 265.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2B50B9 |
|---|---|
| RGB | rgb(43, 80, 185) |
| HSL | hsl(224, 62%, 45%) |
| HSV | hsv(224, 77%, 73%) |
| CMYK | cmyk(76.8%, 56.8%, 0%, 27.5%) |
| CIE-LAB | lab(37.39, 24.93, -59.21) |
| CIE-LCH | lch(37.39, 64.24, 292.83°) |
| OKLab | oklab(46.94% -0.0136 -0.1708) |
| OKLCH | oklch(46.94% 0.171 265.4) |
| XYZ | xyz(12.6188, 9.7523, 47.1069) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.35
Cobalt
#0047AB
ΔE00 3.98
Blue Blue
#2242C7
ΔE00 4.90
Blue (survey)
#0343DF
ΔE00 6.13
Cobalt (survey)
#1E488F
ΔE00 6.37
Denim Blue
#3B5B92
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B50B9 #B9942B
analogous
#2B97B9 #2B50B9 #4D2BB9
triadic
#2B50B9 #B92B50 #50B92B
tetradic
#2B50B9 #B92B97 #B9942B #2BB94D
square
#2B50B9 #B92B97 #B9942B #2BB94D
split-complementary
#2B50B9 #B94D2B #97B92B
monochromatic
#142556 #1F3B87 #2B50B9 #4C70D5 #7E97E1
Accessibility & contrast
On white
7.12
#2B50B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2B50B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B50B9
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B50B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B50B9 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2b50b9; /* rgb */ color: rgb(43, 80, 185); /* oklch */ color: oklch(46.9% 0.171 265.4);
Tailwind
colors: {
custom: {
50: '#7a80cf',
500: '#2b50b9',
950: '#000000',
},
}SCSS
$custom: #2b50b9; $custom-light: #7a80cf; $custom-dark: #000000;
JSON
{
"hex": "#2b50b9",
"rgb": {
"r": 43,
"g": 80,
"b": 185
},
"hsl": {
"h": 224.366,
"s": 62.281,
"l": 44.706
},
"oklch": {
"l": 0.46943,
"c": 0.17139,
"h": 265.4
},
"luminance": 0.09754
}Semantic roles & 50–950 ramp
primary
#2B50B9
secondary
#C9B476
accent
#BB42E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82