#2B5BB7#2B5BB7
#2B5BB7 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.155 H 261.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5BB7 |
|---|---|
| RGB | rgb(43, 91, 183) |
| HSL | hsl(219, 62%, 44%) |
| HSV | hsv(219, 77%, 72%) |
| CMYK | cmyk(76.5%, 50.3%, 0%, 28.2%) |
| CIE-LAB | lab(40.27, 16.93, -53.38) |
| CIE-LCH | lch(40.27, 56.00, 287.60°) |
| OKLab | oklab(49.08% -0.0222 -0.1535) |
| OKLCH | oklch(49.08% 0.155 261.8) |
| XYZ | xyz(13.2815, 11.4132, 46.2935) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.80
Sapphire
#0F52BA
ΔE00 3.03
Denim Blue
#3B5B92
ΔE00 4.67
French Blue
#436BAD
ΔE00 5.58
Dusky Blue
#475F94
ΔE00 5.67
Denim (survey)
#3B638C
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5BB7 #B7872B
analogous
#2BA1B7 #2B5BB7 #412BB7
triadic
#2B5BB7 #B72B5B #5BB72B
tetradic
#2B5BB7 #B72BA1 #B7872B #2BB741
square
#2B5BB7 #B72BA1 #B7872B #2BB741
split-complementary
#2B5BB7 #B7412B #A1B72B
monochromatic
#142A54 #1F4285 #2B5BB7 #4B7AD5 #7C9EE0
Accessibility & contrast
On white
6.40
#2B5BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#2B5BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5BB7
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5BB7 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2366BA
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2b5bb7; /* rgb */ color: rgb(43, 91, 183); /* oklch */ color: oklch(49.1% 0.155 261.8);
Tailwind
colors: {
custom: {
50: '#7988cd',
500: '#2b5bb7',
950: '#000000',
},
}SCSS
$custom: #2b5bb7; $custom-light: #7988cd; $custom-dark: #000000;
JSON
{
"hex": "#2b5bb7",
"rgb": {
"r": 43,
"g": 91,
"b": 183
},
"hsl": {
"h": 219.429,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.49076,
"c": 0.15509,
"h": 261.8
},
"luminance": 0.11415
}Semantic roles & 50–950 ramp
primary
#2B5BB7
secondary
#C9AC75
accent
#AD43E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82