#2B5BA4#2B5BA4
#2B5BA4 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.7% C 0.129 H 258.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5BA4 |
|---|---|
| RGB | rgb(43, 91, 164) |
| HSL | hsl(216, 58%, 41%) |
| HSV | hsv(216, 74%, 64%) |
| CMYK | cmyk(73.8%, 44.5%, 0%, 35.7%) |
| CIE-LAB | lab(39.03, 9.65, -44.15) |
| CIE-LCH | lch(39.03, 45.19, 282.33°) |
| OKLab | oklab(47.73% -0.0253 -0.1264) |
| OKLCH | oklch(47.73% 0.129 258.7) |
| XYZ | xyz(11.4358, 10.6748, 36.5725) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.90
Denim
#1560BD
ΔE00 3.35
Light Navy Blue
#2E5A88
ΔE00 3.60
Dusk Blue
#26538D
ΔE00 3.73
Sapphire
#0F52BA
ΔE00 4.09
Denim (survey)
#3B638C
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5BA4 #A4742B
analogous
#2B97A4 #2B5BA4 #372BA4
triadic
#2B5BA4 #A42B5B #5BA42B
tetradic
#2B5BA4 #A42B97 #A4742B #2BA437
square
#2B5BA4 #A42B97 #A4742B #2BA437
split-complementary
#2B5BA4 #A4372B #97A42B
monochromatic
#122543 #1E4074 #2B5BA4 #3F77CD #709AD9
Accessibility & contrast
On white
6.70
#2B5BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#2B5BA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5BA4
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5BA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5BA4 | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3762A7
Deuteranopia (green-blind)
#2057A3
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2b5ba4; /* rgb */ color: rgb(43, 91, 164); /* oklch */ color: oklch(47.7% 0.129 258.7);
Tailwind
colors: {
custom: {
50: '#7588bf',
500: '#2b5ba4',
950: '#000000',
},
}SCSS
$custom: #2b5ba4; $custom-light: #7588bf; $custom-dark: #000000;
JSON
{
"hex": "#2b5ba4",
"rgb": {
"r": 43,
"g": 91,
"b": 164
},
"hsl": {
"h": 216.198,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.47725,
"c": 0.12886,
"h": 258.7
},
"luminance": 0.10676
}Semantic roles & 50–950 ramp
primary
#2B5BA4
secondary
#C19E6A
accent
#A446E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81