#2162C1#2162C1
#2162C1 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.0% C 0.163 H 258.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2162C1 |
|---|---|
| RGB | rgb(33, 98, 193) |
| HSL | hsl(216, 71%, 44%) |
| HSV | hsv(216, 83%, 76%) |
| CMYK | cmyk(82.9%, 49.2%, 0%, 24.3%) |
| CIE-LAB | lab(42.62, 15.20, -55.42) |
| CIE-LCH | lch(42.62, 57.47, 285.33°) |
| OKLab | oklab(51.01% -0.0322 -0.1595) |
| OKLCH | oklch(51.01% 0.163 258.6) |
| XYZ | xyz(14.6170, 12.9071, 52.1627) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.15
Mid Blue
#276AB3
ΔE00 3.63
French Blue
#436BAD
ΔE00 4.11
Medium Blue
#2C6FBB
ΔE00 4.79
Sapphire
#0F52BA
ΔE00 5.42
Denim (survey)
#3B638C
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2162C1 #C18021
analogous
#21B2C1 #2162C1 #3021C1
triadic
#2162C1 #C12162 #62C121
tetradic
#2162C1 #C121B2 #C18021 #21C130
square
#2162C1 #C121B2 #C18021 #21C130
split-complementary
#2162C1 #C13021 #B2C121
monochromatic
#0F2D58 #18478D #2162C1 #4181DE #75A3E7
Accessibility & contrast
On white
5.86
#2162C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#2162C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2162C1
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2162C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2162C1 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286CC4
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2162c1; /* rgb */ color: rgb(33, 98, 193); /* oklch */ color: oklch(51.0% 0.163 258.6);
Tailwind
colors: {
custom: {
50: '#788dd4',
500: '#2162c1',
950: '#000000',
},
}SCSS
$custom: #2162c1; $custom-light: #788dd4; $custom-dark: #000000;
JSON
{
"hex": "#2162c1",
"rgb": {
"r": 33,
"g": 98,
"b": 193
},
"hsl": {
"h": 215.625,
"s": 70.796,
"l": 44.314
},
"oklch": {
"l": 0.51012,
"c": 0.16273,
"h": 258.6
},
"luminance": 0.12909
}Semantic roles & 50–950 ramp
primary
#2162C1
secondary
#CFA86F
accent
#A53AEE
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83