#2B5BB9#2B5BB9
#2B5BB9 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.2% C 0.158 H 262.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5BB9 |
|---|---|
| RGB | rgb(43, 91, 185) |
| HSL | hsl(220, 62%, 45%) |
| HSV | hsv(220, 77%, 73%) |
| CMYK | cmyk(76.8%, 50.8%, 0%, 27.5%) |
| CIE-LAB | lab(40.41, 17.69, -54.33) |
| CIE-LCH | lch(40.41, 57.13, 288.04°) |
| OKLab | oklab(49.23% -0.0219 -0.1563) |
| OKLCH | oklch(49.23% 0.158 262) |
| XYZ | xyz(13.4912, 11.4970, 47.3976) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.86
Sapphire
#0F52BA
ΔE00 3.03
Denim Blue
#3B5B92
ΔE00 4.89
French Blue
#436BAD
ΔE00 5.62
Dusky Blue
#475F94
ΔE00 5.83
Denim (survey)
#3B638C
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5BB9 #B9892B
analogous
#2BA2B9 #2B5BB9 #422BB9
triadic
#2B5BB9 #B92B5B #5BB92B
tetradic
#2B5BB9 #B92BA2 #B9892B #2BB942
square
#2B5BB9 #B92BA2 #B9892B #2BB942
split-complementary
#2B5BB9 #B9422B #A2B92B
monochromatic
#142A56 #1F4387 #2B5BB9 #4C7AD5 #7E9FE1
Accessibility & contrast
On white
6.36
#2B5BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#2B5BB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5BB9
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5BB9 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2066BC
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2b5bb9; /* rgb */ color: rgb(43, 91, 185); /* oklch */ color: oklch(49.2% 0.158 262.0);
Tailwind
colors: {
custom: {
50: '#7988cf',
500: '#2b5bb9',
950: '#000000',
},
}SCSS
$custom: #2b5bb9; $custom-light: #7988cf; $custom-dark: #000000;
JSON
{
"hex": "#2b5bb9",
"rgb": {
"r": 43,
"g": 91,
"b": 185
},
"hsl": {
"h": 219.718,
"s": 62.281,
"l": 44.706
},
"oklch": {
"l": 0.49225,
"c": 0.15782,
"h": 262
},
"luminance": 0.11499
}Semantic roles & 50–950 ramp
primary
#2B5BB9
secondary
#C9AD76
accent
#AE42E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82