#2B4CC3#2B4CC3
#2B4CC3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.190 H 266.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4CC3 |
|---|---|
| RGB | rgb(43, 76, 195) |
| HSL | hsl(227, 64%, 47%) |
| HSV | hsv(227, 78%, 76%) |
| CMYK | cmyk(77.9%, 61%, 0%, 23.5%) |
| CIE-LAB | lab(37.15, 31.30, -65.45) |
| CIE-LCH | lch(37.15, 72.55, 295.56°) |
| OKLab | oklab(47.01% -0.0107 -0.1892) |
| OKLCH | oklch(47.01% 0.19 266.8) |
| XYZ | xyz(13.4276, 9.6211, 52.7685) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.05
Sapphire
#0F52BA
ΔE00 3.98
Blue (survey)
#0343DF
ΔE00 4.18
Cobalt
#0047AB
ΔE00 4.77
Warm Blue
#4B57DB
ΔE00 5.87
Ocean Blue
#4F42B5
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4CC3 #C3A22B
analogous
#2B98C3 #2B4CC3 #562BC3
triadic
#2B4CC3 #C32B4C #4CC32B
tetradic
#2B4CC3 #C32B98 #C3A22B #2BC356
square
#2B4CC3 #C32B98 #C3A22B #2BC356
split-complementary
#2B4CC3 #C3562B #98C32B
monochromatic
#15255F #203891 #2B4CC3 #5270D9 #8499E4
Accessibility & contrast
On white
7.18
#2B4CC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2B4CC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4CC3
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4CC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4CC3 | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2b4cc3; /* rgb */ color: rgb(43, 76, 195); /* oklch */ color: oklch(47.0% 0.190 266.8);
Tailwind
colors: {
custom: {
50: '#7c7dd6',
500: '#2b4cc3',
950: '#000000',
},
}SCSS
$custom: #2b4cc3; $custom-light: #7c7dd6; $custom-dark: #000000;
JSON
{
"hex": "#2b4cc3",
"rgb": {
"r": 43,
"g": 76,
"b": 195
},
"hsl": {
"h": 226.974,
"s": 63.866,
"l": 46.667
},
"oklch": {
"l": 0.47014,
"c": 0.18954,
"h": 266.8
},
"luminance": 0.09623
}Semantic roles & 50–950 ramp
primary
#2B4CC3
secondary
#CDBC7D
accent
#C341E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83