#2B5BA2#2B5BA2
#2B5BA2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.6% C 0.126 H 258.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5BA2 |
|---|---|
| RGB | rgb(43, 91, 162) |
| HSL | hsl(216, 58%, 40%) |
| HSV | hsv(216, 73%, 64%) |
| CMYK | cmyk(73.5%, 43.8%, 0%, 36.5%) |
| CIE-LAB | lab(38.90, 8.89, -43.16) |
| CIE-LCH | lch(38.90, 44.06, 281.64°) |
| OKLab | oklab(47.59% -0.0256 -0.1234) |
| OKLCH | oklch(47.59% 0.126 258.3) |
| XYZ | xyz(11.2566, 10.6032, 35.6288) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.78
Light Navy Blue
#2E5A88
ΔE00 3.37
Denim
#1560BD
ΔE00 3.50
Dusk Blue
#26538D
ΔE00 3.54
Denim (survey)
#3B638C
ΔE00 4.20
Sapphire
#0F52BA
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5BA2 #A2722B
analogous
#2B97A2 #2B5BA2 #362BA2
triadic
#2B5BA2 #A22B5B #5BA22B
tetradic
#2B5BA2 #A22B97 #A2722B #2BA236
square
#2B5BA2 #A22B97 #A2722B #2BA236
split-complementary
#2B5BA2 #A2362B #97A22B
monochromatic
#112541 #1E4072 #2B5BA2 #3E77CC #6F99D9
Accessibility & contrast
On white
6.73
#2B5BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2B5BA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5BA2
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5BA2 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3862A5
Deuteranopia (green-blind)
#2357A1
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2b5ba2; /* rgb */ color: rgb(43, 91, 162); /* oklch */ color: oklch(47.6% 0.126 258.3);
Tailwind
colors: {
custom: {
50: '#7488be',
500: '#2b5ba2',
950: '#000000',
},
}SCSS
$custom: #2b5ba2; $custom-light: #7488be; $custom-dark: #000000;
JSON
{
"hex": "#2b5ba2",
"rgb": {
"r": 43,
"g": 91,
"b": 162
},
"hsl": {
"h": 215.798,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.47589,
"c": 0.12608,
"h": 258.3
},
"luminance": 0.10604
}Semantic roles & 50–950 ramp
primary
#2B5BA2
secondary
#C09D69
accent
#A347E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81