#2B4FB5#2B4FB5
#2B4FB5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.167 H 265.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4FB5 |
|---|---|
| RGB | rgb(43, 79, 181) |
| HSL | hsl(224, 62%, 44%) |
| HSV | hsv(224, 76%, 71%) |
| CMYK | cmyk(76.2%, 56.4%, 0%, 29%) |
| CIE-LAB | lab(36.82, 24.07, -57.79) |
| CIE-LCH | lch(36.82, 62.60, 292.61°) |
| OKLab | oklab(46.41% -0.0131 -0.1667) |
| OKLCH | oklch(46.41% 0.167 265.5) |
| XYZ | xyz(12.1298, 9.4404, 44.8900) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.45
Cobalt
#0047AB
ΔE00 3.53
Blue Blue
#2242C7
ΔE00 4.93
Cobalt (survey)
#1E488F
ΔE00 5.82
Dusk Blue
#26538D
ΔE00 6.24
Denim Blue
#3B5B92
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4FB5 #B5912B
analogous
#2B94B5 #2B4FB5 #4C2BB5
triadic
#2B4FB5 #B52B4F #4FB52B
tetradic
#2B4FB5 #B52B94 #B5912B #2BB54C
square
#2B4FB5 #B52B94 #B5912B #2BB54C
split-complementary
#2B4FB5 #B54C2B #94B52B
monochromatic
#142452 #1F3984 #2B4FB5 #496DD4 #7B95E0
Accessibility & contrast
On white
7.27
#2B4FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2B4FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4FB5
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4FB5 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2b4fb5; /* rgb */ color: rgb(43, 79, 181); /* oklch */ color: oklch(46.4% 0.167 265.5);
Tailwind
colors: {
custom: {
50: '#797fcc',
500: '#2b4fb5',
950: '#000000',
},
}SCSS
$custom: #2b4fb5; $custom-light: #797fcc; $custom-dark: #000000;
JSON
{
"hex": "#2b4fb5",
"rgb": {
"r": 43,
"g": 79,
"b": 181
},
"hsl": {
"h": 224.348,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.46414,
"c": 0.16721,
"h": 265.5
},
"luminance": 0.09442
}Semantic roles & 50–950 ramp
primary
#2B4FB5
secondary
#C8B274
accent
#BB43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82