#2161BB#2161BB

#2161BB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.4% C 0.156 H 258.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2161BB
RGBrgb(33, 97, 187)
HSLhsl(215, 70%, 43%)
HSVhsv(215, 82%, 73%)
CMYKcmyk(82.4%, 48.1%, 0%, 26.7%)
CIE-LABlab(41.94, 13.50, -53.04)
CIE-LCHlch(41.94, 54.73, 284.28°)
OKLaboklab(50.36% -0.0324 -0.1525)
OKLCHoklch(50.36% 0.156 258)
XYZxyz(13.8682, 12.4589, 48.6780)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2161BB #BB7B21
analogous
#21AEBB #2161BB #2E21BB
triadic
#2161BB #BB2161 #61BB21
tetradic
#2161BB #BB21AE #BB7B21 #21BB2E
square
#2161BB #BB21AE #BB7B21 #21BB2E
split-complementary
#2161BB #BB2E21 #AEBB21
monochromatic
#0F2B53 #184687 #2161BB #3D7FDD #71A1E6

Accessibility & contrast

On white

6.01
#2161BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2161BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2161BB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2161BB#FFFFFF#000000##FFFFFF
##2161BB1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2161bb;
/* rgb */ color: rgb(33, 97, 187);
/* oklch */ color: oklch(50.4% 0.156 258.0);
Tailwind
colors: {
  custom: {
    50: '#768dd0',
    500: '#2161bb',
    950: '#000000',
  },
}
SCSS
$custom: #2161bb;
$custom-light: #768dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2161bb",
  "rgb": {
    "r": 33,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 215.065,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50356,
    "c": 0.15592,
    "h": 258
  },
  "luminance": 0.12461
}

Semantic roles & 50–950 ramp

primary
#2161BB
secondary
#CCA46B
accent
#A33BED
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2161BB

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

Preview Lab → · Contrast checker → · Palette generator →

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