#2171BE#2171BE

#2171BE is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.2% C 0.142 H 251.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2171BE
RGBrgb(33, 113, 190)
HSLhsl(209, 70%, 44%)
HSVhsv(209, 83%, 75%)
CMYKcmyk(82.6%, 40.5%, 0%, 25.5%)
CIE-LABlab(46.78, 4.47, -47.02)
CIE-LCHlch(46.78, 47.23, 275.43°)
OKLaboklab(54.17% -0.0445 -0.1345)
OKLCHoklch(54.17% 0.142 251.7)
XYZxyz(15.8231, 15.8493, 50.9305)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2171BE #BE6E21
analogous
#21BEBC #2171BE #2122BE
triadic
#2171BE #BE2171 #71BE21
tetradic
#2171BE #BC21BE #BE6E21 #22BE21
square
#2171BE #BC21BE #BE6E21 #22BE21
split-complementary
#2171BE #BE2122 #BEBC21
monochromatic
#0F3356 #18528A #2171BE #3F90DE #73AEE7

Accessibility & contrast

On white

5.04
#2171BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2171BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2171BE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2171BE#FFFFFF#000000##FFFFFF
##2171BE1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2171be;
/* rgb */ color: rgb(33, 113, 190);
/* oklch */ color: oklch(54.2% 0.142 251.7);
Tailwind
colors: {
  custom: {
    50: '#7799d2',
    500: '#2171be',
    950: '#000000',
  },
}
SCSS
$custom: #2171be;
$custom-light: #7799d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2171be",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 209.427,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54169,
    "c": 0.14165,
    "h": 251.7
  },
  "luminance": 0.15851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2171BE

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

Preview Lab → · Contrast checker → · Palette generator →

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