#2170A0#2170A0

#2170A0 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.1% C 0.106 H 240.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2170A0
RGBrgb(33, 112, 160)
HSLhsl(203, 66%, 38%)
HSVhsv(203, 79%, 63%)
CMYKcmyk(79.4%, 30%, 0%, 37.3%)
CIE-LABlab(44.87, -6.32, -32.53)
CIE-LCHlch(44.87, 33.14, 259.01°)
OKLaboklab(52.15% -0.052 -0.0921)
OKLCHoklch(52.15% 0.106 240.6)
XYZxyz(12.7640, 14.4482, 35.3670)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2170A0 #A05121
analogous
#21A090 #2170A0 #2131A0
triadic
#2170A0 #A02170 #70A021
tetradic
#2170A0 #9021A0 #A05121 #31A021
square
#2170A0 #9021A0 #A05121 #31A021
split-complementary
#2170A0 #A02131 #A09021
monochromatic
#0C293B #174C6D #2170A0 #2B94D3 #5EADDE

Accessibility & contrast

On white

5.40
#2170A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2170A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2170A0
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2170A0#FFFFFF#000000##FFFFFF
##2170A01.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5971A2
Deuteranopia (green-blind)
#48659F
Tritanopia (blue-blind)
#007C81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2170a0;
/* rgb */ color: rgb(33, 112, 160);
/* oklch */ color: oklch(52.1% 0.106 240.6);
Tailwind
colors: {
  custom: {
    50: '#7198bc',
    500: '#2170a0',
    950: '#000000',
  },
}
SCSS
$custom: #2170a0;
$custom-light: #7198bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2170a0",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 160
  },
  "hsl": {
    "h": 202.677,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.52145,
    "c": 0.10579,
    "h": 240.6
  },
  "luminance": 0.1445
}

Semantic roles & 50–950 ramp

primary
#2170A0
secondary
#C2825B
accent
#7F3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2170A0

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

Preview Lab → · Contrast checker → · Palette generator →

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