#2B4CC4#2B4CC4
#2B4CC4 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.191 H 266.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4CC4 |
|---|---|
| RGB | rgb(43, 76, 196) |
| HSL | hsl(227, 64%, 47%) |
| HSV | hsv(227, 78%, 77%) |
| CMYK | cmyk(78.1%, 61.2%, 0%, 23.1%) |
| CIE-LAB | lab(37.24, 31.67, -65.90) |
| CIE-LCH | lch(37.24, 73.12, 295.67°) |
| OKLab | oklab(47.1% -0.0107 -0.1905) |
| OKLCH | oklch(47.1% 0.191 266.8) |
| XYZ | xyz(13.5410, 9.6664, 53.3660) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.02
Sapphire
#0F52BA
ΔE00 4.06
Blue (survey)
#0343DF
ΔE00 4.07
Cobalt
#0047AB
ΔE00 4.88
Warm Blue
#4B57DB
ΔE00 5.77
Ocean Blue
#4F42B5
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4CC4 #C4A32B
analogous
#2B99C4 #2B4CC4 #572BC4
triadic
#2B4CC4 #C42B4C #4CC42B
tetradic
#2B4CC4 #C42B99 #C4A32B #2BC457
square
#2B4CC4 #C42B99 #C4A32B #2BC457
split-complementary
#2B4CC4 #C4572B #99C42B
monochromatic
#152560 #203992 #2B4CC4 #5370D9 #859AE4
Accessibility & contrast
On white
7.16
#2B4CC4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2B4CC4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4CC4
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4CC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4CC4 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2b4cc4; /* rgb */ color: rgb(43, 76, 196); /* oklch */ color: oklch(47.1% 0.191 266.8);
Tailwind
colors: {
custom: {
50: '#7d7dd7',
500: '#2b4cc4',
950: '#000000',
},
}SCSS
$custom: #2b4cc4; $custom-light: #7d7dd7; $custom-dark: #000000;
JSON
{
"hex": "#2b4cc4",
"rgb": {
"r": 43,
"g": 76,
"b": 196
},
"hsl": {
"h": 227.059,
"s": 64.017,
"l": 46.863
},
"oklch": {
"l": 0.47101,
"c": 0.19085,
"h": 266.8
},
"luminance": 0.09668
}Semantic roles & 50–950 ramp
primary
#2B4CC4
secondary
#CEBC7D
accent
#C341E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83