#2170AD#2170AD

#2170AD is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 52.9% C 0.121 H 246.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2170AD
RGBrgb(33, 112, 173)
HSLhsl(206, 68%, 40%)
HSVhsv(206, 81%, 68%)
CMYKcmyk(80.9%, 35.3%, 0%, 32.2%)
CIE-LABlab(45.53, -1.42, -39.12)
CIE-LCHlch(45.53, 39.14, 267.92°)
OKLaboklab(52.89% -0.048 -0.1113)
OKLCHoklch(52.89% 0.121 246.7)
XYZxyz(13.9613, 14.9271, 41.6725)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2170AD #AD5E21
analogous
#21ADA4 #2170AD #212AAD
triadic
#2170AD #AD2170 #70AD21
tetradic
#2170AD #A421AD #AD5E21 #2AAD21
square
#2170AD #A421AD #AD5E21 #2AAD21
split-complementary
#2170AD #AD212A #ADA421
monochromatic
#0D2D46 #174F7A #2170AD #3390D8 #66ACE2

Accessibility & contrast

On white

5.27
#2170AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2170AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2170AD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2170AD#FFFFFF#000000##FFFFFF
##2170AD1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5373B0
Deuteranopia (green-blind)
#3F66AC
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2170ad;
/* rgb */ color: rgb(33, 112, 173);
/* oklch */ color: oklch(52.9% 0.121 246.7);
Tailwind
colors: {
  custom: {
    50: '#7398c6',
    500: '#2170ad',
    950: '#000000',
  },
}
SCSS
$custom: #2170ad;
$custom-light: #7398c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2170ad",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 173
  },
  "hsl": {
    "h": 206.143,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52889,
    "c": 0.12125,
    "h": 246.7
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

primary
#2170AD
secondary
#C78E62
accent
#893DEB
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#090D13
muted
#7B7E82

Preview Lab

Preview with #2170AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2170AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva