#2B4CBC#2B4CBC
#2B4CBC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.180 H 266.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4CBC |
|---|---|
| RGB | rgb(43, 76, 188) |
| HSL | hsl(226, 63%, 45%) |
| HSV | hsv(226, 77%, 74%) |
| CMYK | cmyk(77.1%, 59.6%, 0%, 26.3%) |
| CIE-LAB | lab(36.58, 28.68, -62.30) |
| CIE-LCH | lch(36.58, 68.58, 294.72°) |
| OKLab | oklab(46.41% -0.0108 -0.18) |
| OKLCH | oklch(46.41% 0.18 266.6) |
| XYZ | xyz(12.6546, 9.3119, 48.6976) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.44
Sapphire
#0F52BA
ΔE00 3.52
Cobalt
#0047AB
ΔE00 3.98
Blue (survey)
#0343DF
ΔE00 4.99
Sapphire (survey)
#2138AB
ΔE00 6.27
Ocean Blue
#4F42B5
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4CBC #BC9B2B
analogous
#2B94BC #2B4CBC #522BBC
triadic
#2B4CBC #BC2B4C #4CBC2B
tetradic
#2B4CBC #BC2B94 #BC9B2B #2BBC52
square
#2B4CBC #BC2B94 #BC9B2B #2BBC52
split-complementary
#2B4CBC #BC522B #94BC2B
monochromatic
#142458 #20388A #2B4CBC #4E6DD6 #8096E2
Accessibility & contrast
On white
7.34
#2B4CBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2B4CBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4CBC
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4CBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4CBC | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b4cbc; /* rgb */ color: rgb(43, 76, 188); /* oklch */ color: oklch(46.4% 0.180 266.6);
Tailwind
colors: {
custom: {
50: '#7b7dd1',
500: '#2b4cbc',
950: '#000000',
},
}SCSS
$custom: #2b4cbc; $custom-light: #7b7dd1; $custom-dark: #000000;
JSON
{
"hex": "#2b4cbc",
"rgb": {
"r": 43,
"g": 76,
"b": 188
},
"hsl": {
"h": 226.345,
"s": 62.771,
"l": 45.294
},
"oklch": {
"l": 0.46406,
"c": 0.1803,
"h": 266.6
},
"luminance": 0.09313
}Semantic roles & 50–950 ramp
primary
#2B4CBC
secondary
#CBB878
accent
#C142E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83