#2B5ABB#2B5ABB
#2B5ABB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.2% C 0.162 H 262.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5ABB |
|---|---|
| RGB | rgb(43, 90, 187) |
| HSL | hsl(220, 63%, 45%) |
| HSV | hsv(220, 77%, 73%) |
| CMYK | cmyk(77%, 51.9%, 0%, 26.7%) |
| CIE-LAB | lab(40.27, 19.11, -55.72) |
| CIE-LCH | lch(40.27, 58.91, 288.93°) |
| OKLab | oklab(49.16% -0.0209 -0.1604) |
| OKLCH | oklch(49.16% 0.162 262.6) |
| XYZ | xyz(13.6189, 11.4122, 48.4891) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.77
Denim
#1560BD
ΔE00 3.26
Denim Blue
#3B5B92
ΔE00 5.15
French Blue
#436BAD
ΔE00 5.99
Dusky Blue
#475F94
ΔE00 6.05
Azul
#1D5DEC
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5ABB #BB8C2B
analogous
#2BA2BB #2B5ABB #442BBB
triadic
#2B5ABB #BB2B5A #5ABB2B
tetradic
#2B5ABB #BB2BA2 #BB8C2B #2BBB44
square
#2B5ABB #BB2BA2 #BB8C2B #2BBB44
split-complementary
#2B5ABB #BB442B #A2BB2B
monochromatic
#142A57 #204289 #2B5ABB #4D7AD6 #7F9FE2
Accessibility & contrast
On white
6.40
#2B5ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#2B5ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5ABB
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5ABB | 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)
#1966BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2b5abb; /* rgb */ color: rgb(43, 90, 187); /* oklch */ color: oklch(49.2% 0.162 262.6);
Tailwind
colors: {
custom: {
50: '#7a88d0',
500: '#2b5abb',
950: '#000000',
},
}SCSS
$custom: #2b5abb; $custom-light: #7a88d0; $custom-dark: #000000;
JSON
{
"hex": "#2b5abb",
"rgb": {
"r": 43,
"g": 90,
"b": 187
},
"hsl": {
"h": 220.417,
"s": 62.609,
"l": 45.098
},
"oklch": {
"l": 0.49163,
"c": 0.16177,
"h": 262.6
},
"luminance": 0.11414
}Semantic roles & 50–950 ramp
primary
#2B5ABB
secondary
#CAAF78
accent
#B042E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82