#2B5AA2#2B5AA2
#2B5AA2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.127 H 258.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5AA2 |
|---|---|
| RGB | rgb(43, 90, 162) |
| HSL | hsl(216, 58%, 40%) |
| HSV | hsv(216, 73%, 64%) |
| CMYK | cmyk(73.5%, 44.4%, 0%, 36.5%) |
| CIE-LAB | lab(38.61, 9.54, -43.63) |
| CIE-LCH | lch(38.61, 44.66, 282.33°) |
| OKLab | oklab(47.36% -0.0247 -0.1248) |
| OKLCH | oklch(47.36% 0.127 258.8) |
| XYZ | xyz(11.1716, 10.4333, 35.6005) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.72
Dusk Blue
#26538D
ΔE00 3.36
Light Navy Blue
#2E5A88
ΔE00 3.44
Denim
#1560BD
ΔE00 3.72
Sapphire
#0F52BA
ΔE00 4.02
Denim (survey)
#3B638C
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5AA2 #A2732B
analogous
#2B95A2 #2B5AA2 #382BA2
triadic
#2B5AA2 #A22B5A #5AA22B
tetradic
#2B5AA2 #A22B95 #A2732B #2BA238
square
#2B5AA2 #A22B95 #A2732B #2BA238
split-complementary
#2B5AA2 #A2382B #95A22B
monochromatic
#112441 #1E3F72 #2B5AA2 #3E76CC #6F99D9
Accessibility & contrast
On white
6.80
#2B5AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#2B5AA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5AA2
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5AA2 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#2056A1
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2b5aa2; /* rgb */ color: rgb(43, 90, 162); /* oklch */ color: oklch(47.4% 0.127 258.8);
Tailwind
colors: {
custom: {
50: '#7488be',
500: '#2b5aa2',
950: '#000000',
},
}SCSS
$custom: #2b5aa2; $custom-light: #7488be; $custom-dark: #000000;
JSON
{
"hex": "#2b5aa2",
"rgb": {
"r": 43,
"g": 90,
"b": 162
},
"hsl": {
"h": 216.303,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.47362,
"c": 0.12727,
"h": 258.8
},
"luminance": 0.10435
}Semantic roles & 50–950 ramp
primary
#2B5AA2
secondary
#C09E69
accent
#A447E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81