#2161C1#2161C1
#2161C1 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.8% C 0.164 H 258.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2161C1 |
|---|---|
| RGB | rgb(33, 97, 193) |
| HSL | hsl(216, 71%, 44%) |
| HSV | hsv(216, 83%, 76%) |
| CMYK | cmyk(82.9%, 49.7%, 0%, 24.3%) |
| CIE-LAB | lab(42.34, 15.85, -55.88) |
| CIE-LCH | lch(42.34, 58.08, 285.83°) |
| OKLab | oklab(50.8% -0.0315 -0.1609) |
| OKLCH | oklch(50.8% 0.164 258.9) |
| XYZ | xyz(14.5240, 12.7212, 52.1317) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.12
Mid Blue
#276AB3
ΔE00 3.97
French Blue
#436BAD
ΔE00 4.32
Sapphire
#0F52BA
ΔE00 5.06
Medium Blue
#2C6FBB
ΔE00 5.16
Denim (survey)
#3B638C
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2161C1 #C18121
analogous
#21B1C1 #2161C1 #3121C1
triadic
#2161C1 #C12161 #61C121
tetradic
#2161C1 #C121B1 #C18121 #21C131
square
#2161C1 #C121B1 #C18121 #21C131
split-complementary
#2161C1 #C13121 #B1C121
monochromatic
#0F2C58 #18478D #2161C1 #4180DE #75A3E7
Accessibility & contrast
On white
5.92
#2161C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#2161C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2161C1
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2161C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2161C1 | 1.00 | 5.92 | 3.54 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256CC5
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#007888
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2161c1; /* rgb */ color: rgb(33, 97, 193); /* oklch */ color: oklch(50.8% 0.164 258.9);
Tailwind
colors: {
custom: {
50: '#788dd4',
500: '#2161c1',
950: '#000000',
},
}SCSS
$custom: #2161c1; $custom-light: #788dd4; $custom-dark: #000000;
JSON
{
"hex": "#2161c1",
"rgb": {
"r": 33,
"g": 97,
"b": 193
},
"hsl": {
"h": 216,
"s": 70.796,
"l": 44.314
},
"oklch": {
"l": 0.50795,
"c": 0.16392,
"h": 258.9
},
"luminance": 0.12723
}Semantic roles & 50–950 ramp
primary
#2161C1
secondary
#CFA86F
accent
#A63AEE
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83