#2B5BB6#2B5BB6
#2B5BB6 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.0% C 0.154 H 261.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5BB6 |
|---|---|
| RGB | rgb(43, 91, 182) |
| HSL | hsl(219, 62%, 44%) |
| HSV | hsv(219, 76%, 71%) |
| CMYK | cmyk(76.4%, 50%, 0%, 28.6%) |
| CIE-LAB | lab(40.20, 16.54, -52.90) |
| CIE-LCH | lch(40.20, 55.43, 287.37°) |
| OKLab | oklab(49% -0.0223 -0.1521) |
| OKLCH | oklch(49% 0.154 261.7) |
| XYZ | xyz(13.1778, 11.3717, 45.7473) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.78
Sapphire
#0F52BA
ΔE00 3.05
Denim Blue
#3B5B92
ΔE00 4.56
French Blue
#436BAD
ΔE00 5.56
Dusky Blue
#475F94
ΔE00 5.59
Denim (survey)
#3B638C
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5BB6 #B6862B
analogous
#2BA1B6 #2B5BB6 #412BB6
triadic
#2B5BB6 #B62B5B #5BB62B
tetradic
#2B5BB6 #B62BA1 #B6862B #2BB641
square
#2B5BB6 #B62BA1 #B6862B #2BB641
split-complementary
#2B5BB6 #B6412B #A1B62B
monochromatic
#142953 #1F4284 #2B5BB6 #4A7AD4 #7B9EE0
Accessibility & contrast
On white
6.41
#2B5BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#2B5BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5BB6
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5BB6 | 1.00 | 6.41 | 3.27 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2465B9
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2b5bb6; /* rgb */ color: rgb(43, 91, 182); /* oklch */ color: oklch(49.0% 0.154 261.7);
Tailwind
colors: {
custom: {
50: '#7888cc',
500: '#2b5bb6',
950: '#000000',
},
}SCSS
$custom: #2b5bb6; $custom-light: #7888cc; $custom-dark: #000000;
JSON
{
"hex": "#2b5bb6",
"rgb": {
"r": 43,
"g": 91,
"b": 182
},
"hsl": {
"h": 219.281,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.49002,
"c": 0.15372,
"h": 261.7
},
"luminance": 0.11373
}Semantic roles & 50–950 ramp
primary
#2B5BB6
secondary
#C8AB75
accent
#AD43E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82