#2B4EC3#2B4EC3
#2B4EC3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.187 H 266.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4EC3 |
|---|---|
| RGB | rgb(43, 78, 195) |
| HSL | hsl(226, 64%, 47%) |
| HSV | hsv(226, 78%, 76%) |
| CMYK | cmyk(77.9%, 60%, 0%, 23.5%) |
| CIE-LAB | lab(37.66, 30.00, -64.62) |
| CIE-LCH | lch(37.66, 71.24, 294.90°) |
| OKLab | oklab(47.39% -0.0119 -0.1868) |
| OKLCH | oklch(47.39% 0.187 266.3) |
| XYZ | xyz(13.5675, 9.9009, 52.8152) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.51
Blue Blue
#2242C7
ΔE00 3.69
Blue (survey)
#0343DF
ΔE00 4.59
Cobalt
#0047AB
ΔE00 4.81
Warm Blue
#4B57DB
ΔE00 5.66
Ocean Blue
#4F42B5
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4EC3 #C3A02B
analogous
#2B9AC3 #2B4EC3 #542BC3
triadic
#2B4EC3 #C32B4E #4EC32B
tetradic
#2B4EC3 #C32B9A #C3A02B #2BC354
square
#2B4EC3 #C32B9A #C3A02B #2BC354
split-complementary
#2B4EC3 #C3542B #9AC32B
monochromatic
#15265F #203A91 #2B4EC3 #5271D9 #849AE4
Accessibility & contrast
On white
7.05
#2B4EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#2B4EC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4EC3
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4EC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4EC3 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2b4ec3; /* rgb */ color: rgb(43, 78, 195); /* oklch */ color: oklch(47.4% 0.187 266.3);
Tailwind
colors: {
custom: {
50: '#7c7fd6',
500: '#2b4ec3',
950: '#000000',
},
}SCSS
$custom: #2b4ec3; $custom-light: #7c7fd6; $custom-dark: #000000;
JSON
{
"hex": "#2b4ec3",
"rgb": {
"r": 43,
"g": 78,
"b": 195
},
"hsl": {
"h": 226.184,
"s": 63.866,
"l": 46.667
},
"oklch": {
"l": 0.47393,
"c": 0.18715,
"h": 266.3
},
"luminance": 0.09903
}Semantic roles & 50–950 ramp
primary
#2B4EC3
secondary
#CDBB7D
accent
#C141E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83