#2B5BA6#2B5BA6
#2B5BA6 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.9% C 0.132 H 259.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5BA6 |
|---|---|
| RGB | rgb(43, 91, 166) |
| HSL | hsl(217, 59%, 41%) |
| HSV | hsv(217, 74%, 65%) |
| CMYK | cmyk(74.1%, 45.2%, 0%, 34.9%) |
| CIE-LAB | lab(39.15, 10.42, -45.14) |
| CIE-LCH | lch(39.15, 46.33, 282.99°) |
| OKLab | oklab(47.86% -0.0249 -0.1293) |
| OKLCH | oklch(47.86% 0.132 259.1) |
| XYZ | xyz(11.6178, 10.7477, 37.5312) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.03
Denim
#1560BD
ΔE00 3.22
Light Navy Blue
#2E5A88
ΔE00 3.83
Dusk Blue
#26538D
ΔE00 3.92
Sapphire
#0F52BA
ΔE00 3.92
Denim (survey)
#3B638C
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5BA6 #A6762B
analogous
#2B98A6 #2B5BA6 #382BA6
triadic
#2B5BA6 #A62B5B #5BA62B
tetradic
#2B5BA6 #A62B98 #A6762B #2BA638
square
#2B5BA6 #A62B98 #A6762B #2BA638
split-complementary
#2B5BA6 #A6382B #98A62B
monochromatic
#122645 #1E4075 #2B5BA6 #4178CE #719ADA
Accessibility & contrast
On white
6.67
#2B5BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2B5BA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5BA6
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5BA6 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3562A9
Deuteranopia (green-blind)
#1D57A4
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2b5ba6; /* rgb */ color: rgb(43, 91, 166); /* oklch */ color: oklch(47.9% 0.132 259.1);
Tailwind
colors: {
custom: {
50: '#7588c1',
500: '#2b5ba6',
950: '#000000',
},
}SCSS
$custom: #2b5ba6; $custom-light: #7588c1; $custom-dark: #000000;
JSON
{
"hex": "#2b5ba6",
"rgb": {
"r": 43,
"g": 91,
"b": 166
},
"hsl": {
"h": 216.585,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.47861,
"c": 0.13164,
"h": 259.1
},
"luminance": 0.10749
}Semantic roles & 50–950 ramp
primary
#2B5BA6
secondary
#C1A06B
accent
#A546E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81