#2B4DC4#2B4DC4
#2B4DC4 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.190 H 266.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4DC4 |
|---|---|
| RGB | rgb(43, 77, 196) |
| HSL | hsl(227, 64%, 47%) |
| HSV | hsv(227, 78%, 77%) |
| CMYK | cmyk(78.1%, 60.7%, 0%, 23.1%) |
| CIE-LAB | lab(37.49, 31.02, -65.49) |
| CIE-LCH | lch(37.49, 72.46, 295.35°) |
| OKLab | oklab(47.29% -0.0113 -0.1893) |
| OKLCH | oklch(47.29% 0.19 266.6) |
| XYZ | xyz(13.6105, 9.8053, 53.3891) |
| Luminance | 0.0981 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.33
Sapphire
#0F52BA
ΔE00 3.82
Blue (survey)
#0343DF
ΔE00 4.27
Cobalt
#0047AB
ΔE00 4.89
Warm Blue
#4B57DB
ΔE00 5.66
Ocean Blue
#4F42B5
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4DC4 #C4A22B
analogous
#2B9AC4 #2B4DC4 #562BC4
triadic
#2B4DC4 #C42B4D #4DC42B
tetradic
#2B4DC4 #C42B9A #C4A22B #2BC456
square
#2B4DC4 #C42B9A #C4A22B #2BC456
split-complementary
#2B4DC4 #C4562B #9AC42B
monochromatic
#152660 #203992 #2B4DC4 #5371D9 #859AE4
Accessibility & contrast
On white
7.09
#2B4DC4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2B4DC4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4DC4
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4DC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4DC4 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2b4dc4; /* rgb */ color: rgb(43, 77, 196); /* oklch */ color: oklch(47.3% 0.190 266.6);
Tailwind
colors: {
custom: {
50: '#7d7ed7',
500: '#2b4dc4',
950: '#000000',
},
}SCSS
$custom: #2b4dc4; $custom-light: #7d7ed7; $custom-dark: #000000;
JSON
{
"hex": "#2b4dc4",
"rgb": {
"r": 43,
"g": 77,
"b": 196
},
"hsl": {
"h": 226.667,
"s": 64.017,
"l": 46.863
},
"oklch": {
"l": 0.4729,
"c": 0.18966,
"h": 266.6
},
"luminance": 0.09807
}Semantic roles & 50–950 ramp
primary
#2B4DC4
secondary
#CEBC7D
accent
#C241E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83