#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
RGBrgb(33, 97, 193)
HSLhsl(216, 71%, 44%)
HSVhsv(216, 83%, 76%)
CMYKcmyk(82.9%, 49.7%, 0%, 24.3%)
CIE-LABlab(42.34, 15.85, -55.88)
CIE-LCHlch(42.34, 58.08, 285.83°)
OKLaboklab(50.8% -0.0315 -0.1609)
OKLCHoklch(50.8% 0.164 258.9)
XYZxyz(14.5240, 12.7212, 52.1317)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##2161C11.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.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

Preview Lab

Preview with #2161C1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2161C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva