#2170A5#2170A5

#2170A5 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.4% C 0.112 H 243.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2170A5
RGBrgb(33, 112, 165)
HSLhsl(204, 67%, 39%)
HSVhsv(204, 80%, 65%)
CMYKcmyk(80%, 32.1%, 0%, 35.3%)
CIE-LABlab(45.12, -4.45, -35.08)
CIE-LCHlch(45.12, 35.36, 262.78°)
OKLaboklab(52.43% -0.0504 -0.0996)
OKLCHoklch(52.43% 0.112 243.2)
XYZxyz(13.2102, 14.6267, 37.7170)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2170A5 #A55621
analogous
#21A598 #2170A5 #212EA5
triadic
#2170A5 #A52170 #70A521
tetradic
#2170A5 #9821A5 #A55621 #2EA521
square
#2170A5 #9821A5 #A55621 #2EA521
split-complementary
#2170A5 #A5212E #A59821
monochromatic
#0D2B3F #174D72 #2170A5 #2E92D5 #61ADDF

Accessibility & contrast

On white

5.35
#2170A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2170A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2170A5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2170A5#FFFFFF#000000##FFFFFF
##2170A51.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5771A7
Deuteranopia (green-blind)
#4565A4
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2170a5;
/* rgb */ color: rgb(33, 112, 165);
/* oklch */ color: oklch(52.4% 0.112 243.2);
Tailwind
colors: {
  custom: {
    50: '#7298c0',
    500: '#2170a5',
    950: '#000000',
  },
}
SCSS
$custom: #2170a5;
$custom-light: #7298c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2170a5",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 165
  },
  "hsl": {
    "h": 204.091,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52425,
    "c": 0.11159,
    "h": 243.2
  },
  "luminance": 0.14628
}

Semantic roles & 50–950 ramp

primary
#2170A5
secondary
#C4875E
accent
#833EEA
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2170A5

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

Preview Lab → · Contrast checker → · Palette generator →

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