#2B5BB8#2B5BB8
#2B5BB8 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.156 H 261.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5BB8 |
|---|---|
| RGB | rgb(43, 91, 184) |
| HSL | hsl(220, 62%, 45%) |
| HSV | hsv(220, 77%, 72%) |
| CMYK | cmyk(76.6%, 50.5%, 0%, 27.8%) |
| CIE-LAB | lab(40.34, 17.31, -53.85) |
| CIE-LCH | lch(40.34, 56.57, 287.82°) |
| OKLab | oklab(49.15% -0.022 -0.1549) |
| OKLCH | oklch(49.15% 0.156 261.9) |
| XYZ | xyz(13.3860, 11.4549, 46.8436) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.83
Sapphire
#0F52BA
ΔE00 3.03
Denim Blue
#3B5B92
ΔE00 4.78
French Blue
#436BAD
ΔE00 5.60
Dusky Blue
#475F94
ΔE00 5.75
Denim (survey)
#3B638C
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5BB8 #B8882B
analogous
#2BA2B8 #2B5BB8 #412BB8
triadic
#2B5BB8 #B82B5B #5BB82B
tetradic
#2B5BB8 #B82BA2 #B8882B #2BB841
square
#2B5BB8 #B82BA2 #B8882B #2BB841
split-complementary
#2B5BB8 #B8412B #A2B82B
monochromatic
#142A55 #1F4286 #2B5BB8 #4B7AD5 #7D9FE1
Accessibility & contrast
On white
6.38
#2B5BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#2B5BB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5BB8
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5BB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5BB8 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2166BB
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2b5bb8; /* rgb */ color: rgb(43, 91, 184); /* oklch */ color: oklch(49.1% 0.156 261.9);
Tailwind
colors: {
custom: {
50: '#7988ce',
500: '#2b5bb8',
950: '#000000',
},
}SCSS
$custom: #2b5bb8; $custom-light: #7988ce; $custom-dark: #000000;
JSON
{
"hex": "#2b5bb8",
"rgb": {
"r": 43,
"g": 91,
"b": 184
},
"hsl": {
"h": 219.574,
"s": 62.115,
"l": 44.51
},
"oklch": {
"l": 0.4915,
"c": 0.15646,
"h": 261.9
},
"luminance": 0.11456
}Semantic roles & 50–950 ramp
primary
#2B5BB8
secondary
#C9AD76
accent
#AE43E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82