#2170A8#2170A8

#2170A8 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.6% C 0.115 H 244.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2170A8
RGBrgb(33, 112, 168)
HSLhsl(205, 67%, 39%)
HSVhsv(205, 80%, 66%)
CMYKcmyk(80.4%, 33.3%, 0%, 34.1%)
CIE-LABlab(45.27, -3.31, -36.60)
CIE-LCHlch(45.27, 36.75, 264.83°)
OKLaboklab(52.6% -0.0495 -0.104)
OKLCHoklch(52.6% 0.115 244.6)
XYZxyz(13.4865, 14.7372, 39.1720)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2170A8 #A85921
analogous
#21A89D #2170A8 #212DA8
triadic
#2170A8 #A82170 #70A821
tetradic
#2170A8 #9D21A8 #A85921 #2DA821
square
#2170A8 #9D21A8 #A85921 #2DA821
split-complementary
#2170A8 #A8212D #A89D21
monochromatic
#0D2C42 #174E75 #2170A8 #3091D6 #63ACE0

Accessibility & contrast

On white

5.32
#2170A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2170A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2170A8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2170A8#FFFFFF#000000##FFFFFF
##2170A81.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5672AA
Deuteranopia (green-blind)
#4366A7
Tritanopia (blue-blind)
#007E84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2170a8;
/* rgb */ color: rgb(33, 112, 168);
/* oklch */ color: oklch(52.6% 0.115 244.6);
Tailwind
colors: {
  custom: {
    50: '#7298c2',
    500: '#2170a8',
    950: '#000000',
  },
}
SCSS
$custom: #2170a8;
$custom-light: #7298c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2170a8",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 168
  },
  "hsl": {
    "h": 204.889,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52596,
    "c": 0.11516,
    "h": 244.6
  },
  "luminance": 0.14739
}

Semantic roles & 50–950 ramp

primary
#2170A8
secondary
#C58A5F
accent
#853EEA
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2170A8

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

Preview Lab → · Contrast checker → · Palette generator →

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