#2171A5#2171A5

#2171A5 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.7% C 0.111 H 242.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2171A5
RGBrgb(33, 113, 165)
HSLhsl(204, 67%, 39%)
HSVhsv(204, 80%, 65%)
CMYKcmyk(80%, 31.5%, 0%, 35.3%)
CIE-LABlab(45.43, -5.05, -34.60)
CIE-LCHlch(45.43, 34.97, 261.70°)
OKLaboklab(52.67% -0.0513 -0.0981)
OKLCHoklch(52.67% 0.111 242.4)
XYZxyz(13.3212, 14.8486, 37.7540)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2171A5 #A55521
analogous
#21A597 #2171A5 #212FA5
triadic
#2171A5 #A52171 #71A521
tetradic
#2171A5 #9721A5 #A55521 #2FA521
square
#2171A5 #9721A5 #A55521 #2FA521
split-complementary
#2171A5 #A5212F #A59721
monochromatic
#0D2B3F #174E72 #2171A5 #2E93D5 #61AEDF

Accessibility & contrast

On white

5.29
#2171A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2171A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2171A5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2171A5#FFFFFF#000000##FFFFFF
##2171A51.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5972A7
Deuteranopia (green-blind)
#4666A4
Tritanopia (blue-blind)
#007E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2171a5;
/* rgb */ color: rgb(33, 113, 165);
/* oklch */ color: oklch(52.7% 0.111 242.4);
Tailwind
colors: {
  custom: {
    50: '#7299c0',
    500: '#2171a5',
    950: '#000000',
  },
}
SCSS
$custom: #2171a5;
$custom-light: #7299c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2171a5",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 165
  },
  "hsl": {
    "h": 203.636,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52668,
    "c": 0.11075,
    "h": 242.4
  },
  "luminance": 0.1485
}

Semantic roles & 50–950 ramp

primary
#2171A5
secondary
#C4865E
accent
#823EEA
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2171A5

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

Preview Lab → · Contrast checker → · Palette generator →

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