#2B5DB9#2B5DB9
#2B5DB9 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.155 H 261.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5DB9 |
|---|---|
| RGB | rgb(43, 93, 185) |
| HSL | hsl(219, 62%, 45%) |
| HSV | hsv(219, 77%, 73%) |
| CMYK | cmyk(76.8%, 49.7%, 0%, 27.5%) |
| CIE-LAB | lab(40.97, 16.39, -53.42) |
| CIE-LCH | lch(40.97, 55.88, 287.05°) |
| OKLab | oklab(49.65% -0.0235 -0.1536) |
| OKLCH | oklch(49.65% 0.155 261.3) |
| XYZ | xyz(13.6644, 11.8435, 47.4554) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.25
Sapphire
#0F52BA
ΔE00 3.64
Denim Blue
#3B5B92
ΔE00 4.92
French Blue
#436BAD
ΔE00 5.00
Mid Blue
#276AB3
ΔE00 5.41
Denim (survey)
#3B638C
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5DB9 #B9872B
analogous
#2BA4B9 #2B5DB9 #402BB9
triadic
#2B5DB9 #B92B5D #5DB92B
tetradic
#2B5DB9 #B92BA4 #B9872B #2BB940
square
#2B5DB9 #B92BA4 #B9872B #2BB940
split-complementary
#2B5DB9 #B9402B #A4B92B
monochromatic
#142B56 #1F4487 #2B5DB9 #4C7CD5 #7EA1E1
Accessibility & contrast
On white
6.23
#2B5DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#2B5DB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5DB9
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5DB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5DB9 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2667BC
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2b5db9; /* rgb */ color: rgb(43, 93, 185); /* oklch */ color: oklch(49.7% 0.155 261.3);
Tailwind
colors: {
custom: {
50: '#798acf',
500: '#2b5db9',
950: '#000000',
},
}SCSS
$custom: #2b5db9; $custom-light: #798acf; $custom-dark: #000000;
JSON
{
"hex": "#2b5db9",
"rgb": {
"r": 43,
"g": 93,
"b": 185
},
"hsl": {
"h": 218.873,
"s": 62.281,
"l": 44.706
},
"oklch": {
"l": 0.49653,
"c": 0.15538,
"h": 261.3
},
"luminance": 0.11845
}Semantic roles & 50–950 ramp
primary
#2B5DB9
secondary
#C9AC76
accent
#AC42E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82