#2051BB#2051BB
#2051BB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.176 H 262.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2051BB |
|---|---|
| RGB | rgb(32, 81, 187) |
| HSL | hsl(221, 71%, 43%) |
| HSV | hsv(221, 83%, 73%) |
| CMYK | cmyk(82.9%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(37.44, 23.95, -60.32) |
| CIE-LCH | lch(37.44, 64.90, 291.65°) |
| OKLab | oklab(46.92% -0.0219 -0.1743) |
| OKLCH | oklch(46.92% 0.176 262.8) |
| XYZ | xyz(12.5045, 9.7783, 48.2324) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.29
Cobalt
#0047AB
ΔE00 3.85
Blue Blue
#2242C7
ΔE00 5.49
Denim
#1560BD
ΔE00 5.74
Dusk Blue
#26538D
ΔE00 6.14
Denim Blue
#3B5B92
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2051BB #BB8A20
analogous
#209EBB #2051BB #3C20BB
triadic
#2051BB #BB2051 #51BB20
tetradic
#2051BB #BB209E #BB8A20 #20BB3C
square
#2051BB #BB209E #BB8A20 #20BB3C
split-complementary
#2051BB #BB3C20 #9EBB20
monochromatic
#0E2452 #173A87 #2051BB #3B6EDD #6F95E6
Accessibility & contrast
On white
7.10
#2051BB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2051BB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2051BB
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2051BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2051BB | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2051bb; /* rgb */ color: rgb(32, 81, 187); /* oklch */ color: oklch(46.9% 0.176 262.8);
Tailwind
colors: {
custom: {
50: '#7781d0',
500: '#2051bb',
950: '#000000',
},
}SCSS
$custom: #2051bb; $custom-light: #7781d0; $custom-dark: #000000;
JSON
{
"hex": "#2051bb",
"rgb": {
"r": 32,
"g": 81,
"b": 187
},
"hsl": {
"h": 221.032,
"s": 70.776,
"l": 42.941
},
"oklch": {
"l": 0.46922,
"c": 0.17564,
"h": 262.8
},
"luminance": 0.0978
}Semantic roles & 50–950 ramp
primary
#2051BB
secondary
#CDAE6A
accent
#B53AEE
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82