#2B5AA7#2B5AA7
#2B5AA7 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.134 H 259.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5AA7 |
|---|---|
| RGB | rgb(43, 90, 167) |
| HSL | hsl(217, 59%, 41%) |
| HSV | hsv(217, 74%, 65%) |
| CMYK | cmyk(74.3%, 46.1%, 0%, 34.5%) |
| CIE-LAB | lab(38.92, 11.45, -46.10) |
| CIE-LCH | lch(38.92, 47.50, 283.95°) |
| OKLab | oklab(47.71% -0.0238 -0.1321) |
| OKLCH | oklch(47.71% 0.134 259.8) |
| XYZ | xyz(11.6250, 10.6147, 37.9879) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.08
Denim
#1560BD
ΔE00 3.42
Sapphire
#0F52BA
ΔE00 3.58
Dusk Blue
#26538D
ΔE00 3.87
Light Navy Blue
#2E5A88
ΔE00 4.01
Denim (survey)
#3B638C
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5AA7 #A7782B
analogous
#2B98A7 #2B5AA7 #3A2BA7
triadic
#2B5AA7 #A72B5A #5AA72B
tetradic
#2B5AA7 #A72B98 #A7782B #2BA73A
square
#2B5AA7 #A72B98 #A7782B #2BA73A
split-complementary
#2B5AA7 #A73A2B #98A72B
monochromatic
#122646 #1E4076 #2B5AA7 #4177CE #729ADB
Accessibility & contrast
On white
6.72
#2B5AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2B5AA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5AA7
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5AA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5AA7 | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3262AA
Deuteranopia (green-blind)
#1756A5
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2b5aa7; /* rgb */ color: rgb(43, 90, 167); /* oklch */ color: oklch(47.7% 0.134 259.8);
Tailwind
colors: {
custom: {
50: '#7588c2',
500: '#2b5aa7',
950: '#000000',
},
}SCSS
$custom: #2b5aa7; $custom-light: #7588c2; $custom-dark: #000000;
JSON
{
"hex": "#2b5aa7",
"rgb": {
"r": 43,
"g": 90,
"b": 167
},
"hsl": {
"h": 217.258,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.47706,
"c": 0.13423,
"h": 259.8
},
"luminance": 0.10616
}Semantic roles & 50–950 ramp
primary
#2B5AA7
secondary
#C2A16C
accent
#A746E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81