#2171A9#2171A9

#2171A9 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.9% C 0.115 H 244.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2171A9
RGBrgb(33, 113, 169)
HSLhsl(205, 67%, 40%)
HSVhsv(205, 80%, 66%)
CMYKcmyk(80.5%, 33.1%, 0%, 33.7%)
CIE-LABlab(45.63, -3.54, -36.62)
CIE-LCHlch(45.63, 36.80, 264.47°)
OKLaboklab(52.9% -0.0501 -0.104)
OKLCHoklch(52.9% 0.115 244.3)
XYZxyz(13.6910, 14.9965, 39.7015)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2171A9 #A95921
analogous
#21A99D #2171A9 #212DA9
triadic
#2171A9 #A92171 #71A921
tetradic
#2171A9 #9D21A9 #A95921 #2DA921
square
#2171A9 #9D21A9 #A95921 #2DA921
split-complementary
#2171A9 #A9212D #A99D21
monochromatic
#0D2D43 #174F76 #2171A9 #3192D7 #64ADE1

Accessibility & contrast

On white

5.25
#2171A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2171A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2171A9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2171A9#FFFFFF#000000##FFFFFF
##2171A91.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AB
Deuteranopia (green-blind)
#4466A8
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2171a9;
/* rgb */ color: rgb(33, 113, 169);
/* oklch */ color: oklch(52.9% 0.115 244.3);
Tailwind
colors: {
  custom: {
    50: '#7299c3',
    500: '#2171a9',
    950: '#000000',
  },
}
SCSS
$custom: #2171a9;
$custom-light: #7299c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2171a9",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 169
  },
  "hsl": {
    "h": 204.706,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52895,
    "c": 0.11547,
    "h": 244.3
  },
  "luminance": 0.14998
}

Semantic roles & 50–950 ramp

primary
#2171A9
secondary
#C68A60
accent
#853EEA
background
#F7F9FC
surface
#EDF2F8
border
#C8CCD1
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2171A9

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

Preview Lab → · Contrast checker → · Palette generator →

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