#2B4FB1#2B4FB1
#2B4FB1 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.162 H 265.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4FB1 |
|---|---|
| RGB | rgb(43, 79, 177) |
| HSL | hsl(224, 61%, 43%) |
| HSV | hsv(224, 76%, 69%) |
| CMYK | cmyk(75.7%, 55.4%, 0%, 30.6%) |
| CIE-LAB | lab(36.52, 22.55, -55.92) |
| CIE-LCH | lch(36.52, 60.29, 291.96°) |
| OKLab | oklab(46.09% -0.0134 -0.1612) |
| OKLCH | oklch(46.09% 0.162 265.2) |
| XYZ | xyz(11.7253, 9.2786, 42.7594) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.44
Cobalt
#0047AB
ΔE00 3.27
Cobalt (survey)
#1E488F
ΔE00 5.30
Blue Blue
#2242C7
ΔE00 5.31
Dusk Blue
#26538D
ΔE00 5.76
Denim Blue
#3B5B92
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4FB1 #B18D2B
analogous
#2B92B1 #2B4FB1 #4A2BB1
triadic
#2B4FB1 #B12B4F #4FB12B
tetradic
#2B4FB1 #B12B92 #B18D2B #2BB14A
square
#2B4FB1 #B12B92 #B18D2B #2BB14A
split-complementary
#2B4FB1 #B14A2B #92B12B
monochromatic
#13234F #1F3980 #2B4FB1 #476CD2 #7894DE
Accessibility & contrast
On white
7.35
#2B4FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2B4FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4FB1
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4FB1 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b4fb1; /* rgb */ color: rgb(43, 79, 177); /* oklch */ color: oklch(46.1% 0.162 265.2);
Tailwind
colors: {
custom: {
50: '#787fc9',
500: '#2b4fb1',
950: '#000000',
},
}SCSS
$custom: #2b4fb1; $custom-light: #787fc9; $custom-dark: #000000;
JSON
{
"hex": "#2b4fb1",
"rgb": {
"r": 43,
"g": 79,
"b": 177
},
"hsl": {
"h": 223.881,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.4609,
"c": 0.16175,
"h": 265.2
},
"luminance": 0.0928
}Semantic roles & 50–950 ramp
primary
#2B4FB1
secondary
#C6AF72
accent
#B944E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82