#2171BD#2171BD

#2171BD is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.140 H 251.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2171BD
RGBrgb(33, 113, 189)
HSLhsl(209, 70%, 44%)
HSVhsv(209, 83%, 74%)
CMYKcmyk(82.5%, 40.2%, 0%, 25.9%)
CIE-LABlab(46.72, 4.08, -46.53)
CIE-LCHlch(46.72, 46.71, 275.02°)
OKLaboklab(54.11% -0.0447 -0.1331)
OKLCHoklch(54.11% 0.14 251.4)
XYZxyz(15.7141, 15.8058, 50.3568)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2171BD #BD6D21
analogous
#21BDBB #2171BD #2123BD
triadic
#2171BD #BD2171 #71BD21
tetradic
#2171BD #BB21BD #BD6D21 #23BD21
square
#2171BD #BB21BD #BD6D21 #23BD21
split-complementary
#2171BD #BD2123 #BDBB21
monochromatic
#0F3355 #185289 #2171BD #3E90DD #72AEE6

Accessibility & contrast

On white

5.05
#2171BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2171BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2171BD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2171BD#FFFFFF#000000##FFFFFF
##2171BD1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C76C0
Deuteranopia (green-blind)
#3268BC
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2171bd;
/* rgb */ color: rgb(33, 113, 189);
/* oklch */ color: oklch(54.1% 0.140 251.4);
Tailwind
colors: {
  custom: {
    50: '#7799d1',
    500: '#2171bd',
    950: '#000000',
  },
}
SCSS
$custom: #2171bd;
$custom-light: #7799d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2171bd",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 209.231,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54106,
    "c": 0.14036,
    "h": 251.4
  },
  "luminance": 0.15808
}

Semantic roles & 50–950 ramp

primary
#2171BD
secondary
#CD9C6D
accent
#923BED
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2171BD

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

Preview Lab → · Contrast checker → · Palette generator →

#2171BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva