#2B5BA7#2B5BA7
#2B5BA7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 47.9% C 0.133 H 259.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5BA7 |
|---|---|
| RGB | rgb(43, 91, 167) |
| HSL | hsl(217, 59%, 41%) |
| HSV | hsv(217, 74%, 65%) |
| CMYK | cmyk(74.3%, 45.5%, 0%, 34.5%) |
| CIE-LAB | lab(39.22, 10.80, -45.63) |
| CIE-LCH | lch(39.22, 46.89, 283.31°) |
| OKLab | oklab(47.93% -0.0247 -0.1307) |
| OKLCH | oklch(47.93% 0.133 259.3) |
| XYZ | xyz(11.7099, 10.7845, 38.0162) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.11
Denim
#1560BD
ΔE00 3.16
Sapphire
#0F52BA
ΔE00 3.84
Light Navy Blue
#2E5A88
ΔE00 3.94
Dusk Blue
#26538D
ΔE00 4.02
Denim (survey)
#3B638C
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5BA7 #A7772B
analogous
#2B99A7 #2B5BA7 #392BA7
triadic
#2B5BA7 #A72B5B #5BA72B
tetradic
#2B5BA7 #A72B99 #A7772B #2BA739
square
#2B5BA7 #A72B99 #A7772B #2BA739
split-complementary
#2B5BA7 #A7392B #99A72B
monochromatic
#122646 #1E4076 #2B5BA7 #4178CE #729ADB
Accessibility & contrast
On white
6.65
#2B5BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#2B5BA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5BA7
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5BA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5BA7 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3462AA
Deuteranopia (green-blind)
#1B57A5
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2b5ba7; /* rgb */ color: rgb(43, 91, 167); /* oklch */ color: oklch(47.9% 0.133 259.3);
Tailwind
colors: {
custom: {
50: '#7588c2',
500: '#2b5ba7',
950: '#000000',
},
}SCSS
$custom: #2b5ba7; $custom-light: #7588c2; $custom-dark: #000000;
JSON
{
"hex": "#2b5ba7",
"rgb": {
"r": 43,
"g": 91,
"b": 167
},
"hsl": {
"h": 216.774,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.4793,
"c": 0.13303,
"h": 259.3
},
"luminance": 0.10786
}Semantic roles & 50–950 ramp
primary
#2B5BA7
secondary
#C2A16C
accent
#A646E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81