#2170A7#2170A7

#2170A7 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.5% C 0.114 H 244.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2170A7
RGBrgb(33, 112, 167)
HSLhsl(205, 67%, 39%)
HSVhsv(205, 80%, 65%)
CMYKcmyk(80.2%, 32.9%, 0%, 34.5%)
CIE-LABlab(45.22, -3.69, -36.10)
CIE-LCHlch(45.22, 36.29, 264.16°)
OKLaboklab(52.54% -0.0498 -0.1025)
OKLCHoklch(52.54% 0.114 244.1)
XYZxyz(13.3937, 14.7001, 38.6832)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2170A7 #A75821
analogous
#21A79B #2170A7 #212DA7
triadic
#2170A7 #A72170 #70A721
tetradic
#2170A7 #9B21A7 #A75821 #2DA721
square
#2170A7 #9B21A7 #A75821 #2DA721
split-complementary
#2170A7 #A7212D #A79B21
monochromatic
#0D2B41 #174E74 #2170A7 #2F92D6 #62ACE0

Accessibility & contrast

On white

5.33
#2170A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2170A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2170A7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2170A7#FFFFFF#000000##FFFFFF
##2170A71.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5672A9
Deuteranopia (green-blind)
#4366A6
Tritanopia (blue-blind)
#007D84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2170a7;
/* rgb */ color: rgb(33, 112, 167);
/* oklch */ color: oklch(52.5% 0.114 244.1);
Tailwind
colors: {
  custom: {
    50: '#7298c1',
    500: '#2170a7',
    950: '#000000',
  },
}
SCSS
$custom: #2170a7;
$custom-light: #7298c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2170a7",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 167
  },
  "hsl": {
    "h": 204.627,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.11397,
    "h": 244.1
  },
  "luminance": 0.14702
}

Semantic roles & 50–950 ramp

primary
#2170A7
secondary
#C5895F
accent
#843EEA
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2170A7

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

Preview Lab → · Contrast checker → · Palette generator →

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