#2B4DC2#2B4DC2
#2B4DC2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.187 H 266.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4DC2 |
|---|---|
| RGB | rgb(43, 77, 194) |
| HSL | hsl(226, 64%, 46%) |
| HSV | hsv(226, 78%, 76%) |
| CMYK | cmyk(77.8%, 60.3%, 0%, 23.9%) |
| CIE-LAB | lab(37.33, 30.28, -64.59) |
| CIE-LCH | lch(37.33, 71.33, 295.12°) |
| OKLab | oklab(47.12% -0.0113 -0.1867) |
| OKLCH | oklch(47.12% 0.187 266.5) |
| XYZ | xyz(13.3843, 9.7149, 52.1982) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.40
Sapphire
#0F52BA
ΔE00 3.66
Blue (survey)
#0343DF
ΔE00 4.48
Cobalt
#0047AB
ΔE00 4.66
Warm Blue
#4B57DB
ΔE00 5.86
Ocean Blue
#4F42B5
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4DC2 #C2A02B
analogous
#2B99C2 #2B4DC2 #552BC2
triadic
#2B4DC2 #C22B4D #4DC22B
tetradic
#2B4DC2 #C22B99 #C2A02B #2BC255
square
#2B4DC2 #C22B99 #C2A02B #2BC255
split-complementary
#2B4DC2 #C2552B #99C22B
monochromatic
#15255E #203990 #2B4DC2 #5270D9 #8499E4
Accessibility & contrast
On white
7.14
#2B4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#2B4DC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4DC2
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4DC2 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2b4dc2; /* rgb */ color: rgb(43, 77, 194); /* oklch */ color: oklch(47.1% 0.187 266.5);
Tailwind
colors: {
custom: {
50: '#7c7ed5',
500: '#2b4dc2',
950: '#000000',
},
}SCSS
$custom: #2b4dc2; $custom-light: #7c7ed5; $custom-dark: #000000;
JSON
{
"hex": "#2b4dc2",
"rgb": {
"r": 43,
"g": 77,
"b": 194
},
"hsl": {
"h": 226.49,
"s": 63.713,
"l": 46.471
},
"oklch": {
"l": 0.47116,
"c": 0.18703,
"h": 266.5
},
"luminance": 0.09716
}Semantic roles & 50–950 ramp
primary
#2B4DC2
secondary
#CDBB7C
accent
#C141E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83