#2B4DC3#2B4DC3
#2B4DC3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.188 H 266.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4DC3 |
|---|---|
| RGB | rgb(43, 77, 195) |
| HSL | hsl(227, 64%, 47%) |
| HSV | hsv(227, 78%, 76%) |
| CMYK | cmyk(77.9%, 60.5%, 0%, 23.5%) |
| CIE-LAB | lab(37.41, 30.65, -65.04) |
| CIE-LCH | lch(37.41, 71.90, 295.23°) |
| OKLab | oklab(47.2% -0.0113 -0.188) |
| OKLCH | oklch(47.2% 0.188 266.6) |
| XYZ | xyz(13.4970, 9.7599, 52.7917) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.37
Sapphire
#0F52BA
ΔE00 3.74
Blue (survey)
#0343DF
ΔE00 4.38
Cobalt
#0047AB
ΔE00 4.78
Warm Blue
#4B57DB
ΔE00 5.76
Ocean Blue
#4F42B5
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4DC3 #C3A12B
analogous
#2B99C3 #2B4DC3 #552BC3
triadic
#2B4DC3 #C32B4D #4DC32B
tetradic
#2B4DC3 #C32B99 #C3A12B #2BC355
square
#2B4DC3 #C32B99 #C3A12B #2BC355
split-complementary
#2B4DC3 #C3552B #99C32B
monochromatic
#15255F #203991 #2B4DC3 #5270D9 #849AE4
Accessibility & contrast
On white
7.11
#2B4DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2B4DC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4DC3
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4DC3 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2b4dc3; /* rgb */ color: rgb(43, 77, 195); /* oklch */ color: oklch(47.2% 0.188 266.6);
Tailwind
colors: {
custom: {
50: '#7c7ed6',
500: '#2b4dc3',
950: '#000000',
},
}SCSS
$custom: #2b4dc3; $custom-light: #7c7ed6; $custom-dark: #000000;
JSON
{
"hex": "#2b4dc3",
"rgb": {
"r": 43,
"g": 77,
"b": 195
},
"hsl": {
"h": 226.579,
"s": 63.866,
"l": 46.667
},
"oklch": {
"l": 0.47203,
"c": 0.18835,
"h": 266.6
},
"luminance": 0.09761
}Semantic roles & 50–950 ramp
primary
#2B4DC3
secondary
#CDBB7D
accent
#C241E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83