#2B4CB5#2B4CB5
#2B4CB5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.171 H 266.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4CB5 |
|---|---|
| RGB | rgb(43, 76, 181) |
| HSL | hsl(226, 62%, 44%) |
| HSV | hsv(226, 76%, 71%) |
| CMYK | cmyk(76.2%, 58%, 0%, 29%) |
| CIE-LAB | lab(36.02, 26.05, -59.09) |
| CIE-LCH | lch(36.02, 64.58, 293.79°) |
| OKLab | oklab(45.81% -0.011 -0.1706) |
| OKLCH | oklch(45.81% 0.171 266.3) |
| XYZ | xyz(11.9183, 9.0173, 44.8195) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.26
Cobalt
#0047AB
ΔE00 3.29
Blue Blue
#2242C7
ΔE00 4.06
Cobalt (survey)
#1E488F
ΔE00 5.86
Blue (survey)
#0343DF
ΔE00 5.87
Sapphire (survey)
#2138AB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4CB5 #B5942B
analogous
#2B91B5 #2B4CB5 #4F2BB5
triadic
#2B4CB5 #B52B4C #4CB52B
tetradic
#2B4CB5 #B52B91 #B5942B #2BB54F
square
#2B4CB5 #B52B91 #B5942B #2BB54F
split-complementary
#2B4CB5 #B54F2B #91B52B
monochromatic
#142252 #1F3784 #2B4CB5 #496AD4 #7B93E0
Accessibility & contrast
On white
7.49
#2B4CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#2B4CB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4CB5
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4CB5 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2b4cb5; /* rgb */ color: rgb(43, 76, 181); /* oklch */ color: oklch(45.8% 0.171 266.3);
Tailwind
colors: {
custom: {
50: '#797dcc',
500: '#2b4cb5',
950: '#000000',
},
}SCSS
$custom: #2b4cb5; $custom-light: #797dcc; $custom-dark: #000000;
JSON
{
"hex": "#2b4cb5",
"rgb": {
"r": 43,
"g": 76,
"b": 181
},
"hsl": {
"h": 225.652,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.45813,
"c": 0.17092,
"h": 266.3
},
"luminance": 0.09019
}Semantic roles & 50–950 ramp
primary
#2B4CB5
secondary
#C8B474
accent
#BE43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82