#2170A4#2170A4

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

Color values

HEX#2170A4
RGBrgb(33, 112, 164)
HSLhsl(204, 66%, 39%)
HSVhsv(204, 80%, 64%)
CMYKcmyk(79.9%, 31.7%, 0%, 35.7%)
CIE-LABlab(45.07, -4.82, -34.58)
CIE-LCHlch(45.07, 34.91, 262.06°)
OKLaboklab(52.37% -0.0507 -0.0981)
OKLCHoklch(52.37% 0.11 242.7)
XYZxyz(13.1196, 14.5904, 37.2395)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2170A4 #A45521
analogous
#21A496 #2170A4 #212EA4
triadic
#2170A4 #A42170 #70A421
tetradic
#2170A4 #9621A4 #A45521 #2EA421
square
#2170A4 #9621A4 #A45521 #2EA421
split-complementary
#2170A4 #A4212E #A49621
monochromatic
#0C2A3E #174D71 #2170A4 #2D92D5 #60ADDF

Accessibility & contrast

On white

5.36
#2170A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2170A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2170A4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2170A4#FFFFFF#000000##FFFFFF
##2170A41.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5871A6
Deuteranopia (green-blind)
#4665A3
Tritanopia (blue-blind)
#007D82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2170a4;
/* rgb */ color: rgb(33, 112, 164);
/* oklch */ color: oklch(52.4% 0.110 242.7);
Tailwind
colors: {
  custom: {
    50: '#7198bf',
    500: '#2170a4',
    950: '#000000',
  },
}
SCSS
$custom: #2170a4;
$custom-light: #7198bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2170a4",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 164
  },
  "hsl": {
    "h": 203.817,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52368,
    "c": 0.11042,
    "h": 242.7
  },
  "luminance": 0.14592
}

Semantic roles & 50–950 ramp

primary
#2170A4
secondary
#C4865D
accent
#823EE9
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2170A4

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

Preview Lab → · Contrast checker → · Palette generator →

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