#2B50B8#2B50B8
#2B50B8 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.170 H 265.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2B50B8 |
|---|---|
| RGB | rgb(43, 80, 184) |
| HSL | hsl(224, 62%, 45%) |
| HSV | hsv(224, 77%, 72%) |
| CMYK | cmyk(76.6%, 56.5%, 0%, 27.8%) |
| CIE-LAB | lab(37.32, 24.55, -58.74) |
| CIE-LCH | lch(37.32, 63.67, 292.68°) |
| OKLab | oklab(46.86% -0.0137 -0.1695) |
| OKLCH | oklch(46.86% 0.17 265.4) |
| XYZ | xyz(12.5136, 9.7102, 46.5529) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.30
Cobalt
#0047AB
ΔE00 3.90
Blue Blue
#2242C7
ΔE00 4.98
Cobalt (survey)
#1E488F
ΔE00 6.24
Blue (survey)
#0343DF
ΔE00 6.24
Denim Blue
#3B5B92
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B50B8 #B8932B
analogous
#2B97B8 #2B50B8 #4C2BB8
triadic
#2B50B8 #B82B50 #50B82B
tetradic
#2B50B8 #B82B97 #B8932B #2BB84C
square
#2B50B8 #B82B97 #B8932B #2BB84C
split-complementary
#2B50B8 #B84C2B #97B82B
monochromatic
#142555 #1F3A86 #2B50B8 #4B6FD5 #7D97E1
Accessibility & contrast
On white
7.14
#2B50B8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#2B50B8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B50B8
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B50B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B50B8 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2b50b8; /* rgb */ color: rgb(43, 80, 184); /* oklch */ color: oklch(46.9% 0.170 265.4);
Tailwind
colors: {
custom: {
50: '#7a80ce',
500: '#2b50b8',
950: '#000000',
},
}SCSS
$custom: #2b50b8; $custom-light: #7a80ce; $custom-dark: #000000;
JSON
{
"hex": "#2b50b8",
"rgb": {
"r": 43,
"g": 80,
"b": 184
},
"hsl": {
"h": 224.255,
"s": 62.115,
"l": 44.51
},
"oklch": {
"l": 0.46861,
"c": 0.17004,
"h": 265.4
},
"luminance": 0.09712
}Semantic roles & 50–950 ramp
primary
#2B50B8
secondary
#C9B376
accent
#BB43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82