#2B4EBC#2B4EBC
#2B4EBC is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.178 H 266.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4EBC |
|---|---|
| RGB | rgb(43, 78, 188) |
| HSL | hsl(226, 63%, 45%) |
| HSV | hsv(226, 77%, 74%) |
| CMYK | cmyk(77.1%, 58.5%, 0%, 26.3%) |
| CIE-LAB | lab(37.10, 27.37, -61.45) |
| CIE-LCH | lch(37.10, 67.27, 294.01°) |
| OKLab | oklab(46.8% -0.0121 -0.1775) |
| OKLCH | oklch(46.8% 0.178 266.1) |
| XYZ | xyz(12.7946, 9.5918, 48.7443) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.99
Blue Blue
#2242C7
ΔE00 4.05
Cobalt
#0047AB
ΔE00 4.06
Blue (survey)
#0343DF
ΔE00 5.36
Warm Blue
#4B57DB
ΔE00 6.42
Cobalt (survey)
#1E488F
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4EBC #BC992B
analogous
#2B97BC #2B4EBC #502BBC
triadic
#2B4EBC #BC2B4E #4EBC2B
tetradic
#2B4EBC #BC2B97 #BC992B #2BBC50
square
#2B4EBC #BC2B97 #BC992B #2BBC50
split-complementary
#2B4EBC #BC502B #97BC2B
monochromatic
#142558 #20398A #2B4EBC #4E6FD6 #8097E2
Accessibility & contrast
On white
7.20
#2B4EBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2B4EBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4EBC
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4EBC | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2b4ebc; /* rgb */ color: rgb(43, 78, 188); /* oklch */ color: oklch(46.8% 0.178 266.1);
Tailwind
colors: {
custom: {
50: '#7b7fd1',
500: '#2b4ebc',
950: '#000000',
},
}SCSS
$custom: #2b4ebc; $custom-light: #7b7fd1; $custom-dark: #000000;
JSON
{
"hex": "#2b4ebc",
"rgb": {
"r": 43,
"g": 78,
"b": 188
},
"hsl": {
"h": 225.517,
"s": 62.771,
"l": 45.294
},
"oklch": {
"l": 0.46796,
"c": 0.17787,
"h": 266.1
},
"luminance": 0.09593
}Semantic roles & 50–950 ramp
primary
#2B4EBC
secondary
#CBB778
accent
#BE42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82