#2170A9#2170A9

#2170A9 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.7% C 0.116 H 245.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2170A9
RGBrgb(33, 112, 169)
HSLhsl(205, 67%, 40%)
HSVhsv(205, 80%, 66%)
CMYKcmyk(80.5%, 33.7%, 0%, 33.7%)
CIE-LABlab(45.32, -2.94, -37.11)
CIE-LCHlch(45.32, 37.22, 265.48°)
OKLaboklab(52.65% -0.0492 -0.1055)
OKLCHoklch(52.65% 0.116 245)
XYZxyz(13.5800, 14.7746, 39.6645)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2170A9 #A95A21
analogous
#21A99E #2170A9 #212CA9
triadic
#2170A9 #A92170 #70A921
tetradic
#2170A9 #9E21A9 #A95A21 #2CA921
square
#2170A9 #9E21A9 #A95A21 #2CA921
split-complementary
#2170A9 #A9212C #A99E21
monochromatic
#0D2C43 #174E76 #2170A9 #3191D7 #64ACE1

Accessibility & contrast

On white

5.31
#2170A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2170A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2170A9
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2170A9#FFFFFF#000000##FFFFFF
##2170A91.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5572AB
Deuteranopia (green-blind)
#4266A8
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2170a9;
/* rgb */ color: rgb(33, 112, 169);
/* oklch */ color: oklch(52.7% 0.116 245.0);
Tailwind
colors: {
  custom: {
    50: '#7298c3',
    500: '#2170a9',
    950: '#000000',
  },
}
SCSS
$custom: #2170a9;
$custom-light: #7298c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2170a9",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 169
  },
  "hsl": {
    "h": 205.147,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52654,
    "c": 0.11636,
    "h": 245
  },
  "luminance": 0.14776
}

Semantic roles & 50–950 ramp

primary
#2170A9
secondary
#C68B60
accent
#863EEA
background
#F7F9FC
surface
#EDF2F8
border
#C8CCD1
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2170A9

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

Preview Lab → · Contrast checker → · Palette generator →

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