#2051C3#2051C3
#2051C3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.186 H 263.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2051C3 |
|---|---|
| RGB | rgb(32, 81, 195) |
| HSL | hsl(222, 72%, 45%) |
| HSV | hsv(222, 84%, 76%) |
| CMYK | cmyk(83.6%, 58.5%, 0%, 23.5%) |
| CIE-LAB | lab(38.08, 27.05, -63.96) |
| CIE-LCH | lch(38.08, 69.45, 292.92°) |
| OKLab | oklab(47.6% -0.0214 -0.185) |
| OKLCH | oklch(47.6% 0.186 263.4) |
| XYZ | xyz(13.3849, 10.1304, 52.8691) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.11
Cobalt
#0047AB
ΔE00 4.60
Blue Blue
#2242C7
ΔE00 4.98
Blue (survey)
#0343DF
ΔE00 5.57
Denim
#1560BD
ΔE00 6.03
Warm Blue
#4B57DB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2051C3 #C39220
analogous
#20A3C3 #2051C3 #4020C3
triadic
#2051C3 #C32051 #51C320
tetradic
#2051C3 #C320A3 #C39220 #20C340
square
#2051C3 #C320A3 #C39220 #20C340
split-complementary
#2051C3 #C34020 #A3C320
monochromatic
#0F255A #173B8E #2051C3 #4070E0 #7598E8
Accessibility & contrast
On white
6.94
#2051C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2051C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2051C3
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2051C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2051C3 | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2051c3; /* rgb */ color: rgb(32, 81, 195); /* oklch */ color: oklch(47.6% 0.186 263.4);
Tailwind
colors: {
custom: {
50: '#7981d6',
500: '#2051c3',
950: '#000000',
},
}SCSS
$custom: #2051c3; $custom-light: #7981d6; $custom-dark: #000000;
JSON
{
"hex": "#2051c3",
"rgb": {
"r": 32,
"g": 81,
"b": 195
},
"hsl": {
"h": 221.963,
"s": 71.806,
"l": 44.51
},
"oklch": {
"l": 0.47597,
"c": 0.18621,
"h": 263.4
},
"luminance": 0.10132
}Semantic roles & 50–950 ramp
primary
#2051C3
secondary
#CFB36F
accent
#B839EF
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83