#2B5BBA#2B5BBA
#2B5BBA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.159 H 262.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5BBA |
|---|---|
| RGB | rgb(43, 91, 186) |
| HSL | hsl(220, 62%, 45%) |
| HSV | hsv(220, 77%, 73%) |
| CMYK | cmyk(76.9%, 51.1%, 0%, 27.1%) |
| CIE-LAB | lab(40.47, 18.08, -54.80) |
| CIE-LCH | lch(40.47, 57.70, 288.26°) |
| OKLab | oklab(49.3% -0.0218 -0.1577) |
| OKLCH | oklch(49.3% 0.159 262.1) |
| XYZ | xyz(13.5971, 11.5394, 47.9556) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.90
Sapphire
#0F52BA
ΔE00 3.03
Denim Blue
#3B5B92
ΔE00 5.00
French Blue
#436BAD
ΔE00 5.64
Dusky Blue
#475F94
ΔE00 5.91
Denim (survey)
#3B638C
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5BBA #BA8A2B
analogous
#2BA3BA #2B5BBA #432BBA
triadic
#2B5BBA #BA2B5B #5BBA2B
tetradic
#2B5BBA #BA2BA3 #BA8A2B #2BBA43
square
#2B5BBA #BA2BA3 #BA8A2B #2BBA43
split-complementary
#2B5BBA #BA432B #A3BA2B
monochromatic
#142A57 #204388 #2B5BBA #4C7BD6 #7E9FE1
Accessibility & contrast
On white
6.35
#2B5BBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#2B5BBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5BBA
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5BBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5BBA | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E66BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2b5bba; /* rgb */ color: rgb(43, 91, 186); /* oklch */ color: oklch(49.3% 0.159 262.1);
Tailwind
colors: {
custom: {
50: '#7988cf',
500: '#2b5bba',
950: '#000000',
},
}SCSS
$custom: #2b5bba; $custom-light: #7988cf; $custom-dark: #000000;
JSON
{
"hex": "#2b5bba",
"rgb": {
"r": 43,
"g": 91,
"b": 186
},
"hsl": {
"h": 219.86,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.493,
"c": 0.15919,
"h": 262.1
},
"luminance": 0.11541
}Semantic roles & 50–950 ramp
primary
#2B5BBA
secondary
#CAAE77
accent
#AF42E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82