#2B4FBD#2B4FBD
#2B4FBD is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.178 H 265.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4FBD |
|---|---|
| RGB | rgb(43, 79, 189) |
| HSL | hsl(225, 63%, 45%) |
| HSV | hsv(225, 77%, 74%) |
| CMYK | cmyk(77.2%, 58.2%, 0%, 25.9%) |
| CIE-LAB | lab(37.44, 27.09, -61.48) |
| CIE-LCH | lch(37.44, 67.18, 293.78°) |
| OKLab | oklab(47.08% -0.0128 -0.1775) |
| OKLCH | oklch(47.08% 0.178 265.9) |
| XYZ | xyz(12.9743, 9.7782, 49.3378) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.81
Cobalt
#0047AB
ΔE00 4.24
Blue Blue
#2242C7
ΔE00 4.31
Blue (survey)
#0343DF
ΔE00 5.46
Warm Blue
#4B57DB
ΔE00 6.25
Cobalt (survey)
#1E488F
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4FBD #BD992B
analogous
#2B98BD #2B4FBD #502BBD
triadic
#2B4FBD #BD2B4F #4FBD2B
tetradic
#2B4FBD #BD2B98 #BD992B #2BBD50
square
#2B4FBD #BD2B98 #BD992B #2BBD50
split-complementary
#2B4FBD #BD502B #98BD2B
monochromatic
#142559 #203A8B #2B4FBD #4E70D7 #8098E2
Accessibility & contrast
On white
7.10
#2B4FBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2B4FBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4FBD
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4FBD | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2b4fbd; /* rgb */ color: rgb(43, 79, 189); /* oklch */ color: oklch(47.1% 0.178 265.9);
Tailwind
colors: {
custom: {
50: '#7b7fd2',
500: '#2b4fbd',
950: '#000000',
},
}SCSS
$custom: #2b4fbd; $custom-light: #7b7fd2; $custom-dark: #000000;
JSON
{
"hex": "#2b4fbd",
"rgb": {
"r": 43,
"g": 79,
"b": 189
},
"hsl": {
"h": 225.205,
"s": 62.931,
"l": 45.49
},
"oklch": {
"l": 0.47077,
"c": 0.17799,
"h": 265.9
},
"luminance": 0.0978
}Semantic roles & 50–950 ramp
primary
#2B4FBD
secondary
#CBB779
accent
#BE42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83