#2171A4#2171A4

#2171A4 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.6% C 0.110 H 241.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2171A4
RGBrgb(33, 113, 164)
HSLhsl(203, 66%, 39%)
HSVhsv(203, 80%, 64%)
CMYKcmyk(79.9%, 31.1%, 0%, 35.7%)
CIE-LABlab(45.38, -5.42, -34.09)
CIE-LCHlch(45.38, 34.52, 260.96°)
OKLaboklab(52.61% -0.0517 -0.0966)
OKLCHoklch(52.61% 0.11 241.9)
XYZxyz(13.2305, 14.8123, 37.2765)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2171A4 #A45421
analogous
#21A495 #2171A4 #212FA4
triadic
#2171A4 #A42171 #71A421
tetradic
#2171A4 #9521A4 #A45421 #2FA421
square
#2171A4 #9521A4 #A45421 #2FA421
split-complementary
#2171A4 #A4212F #A49521
monochromatic
#0C2B3E #174E71 #2171A4 #2D94D5 #60AEDF

Accessibility & contrast

On white

5.30
#2171A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2171A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2171A4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2171A4#FFFFFF#000000##FFFFFF
##2171A41.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5972A6
Deuteranopia (green-blind)
#4766A3
Tritanopia (blue-blind)
#007E83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2171a4;
/* rgb */ color: rgb(33, 113, 164);
/* oklch */ color: oklch(52.6% 0.110 241.9);
Tailwind
colors: {
  custom: {
    50: '#7199bf',
    500: '#2171a4',
    950: '#000000',
  },
}
SCSS
$custom: #2171a4;
$custom-light: #7199bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2171a4",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 164
  },
  "hsl": {
    "h": 203.359,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.10959,
    "h": 241.9
  },
  "luminance": 0.14814
}

Semantic roles & 50–950 ramp

primary
#2171A4
secondary
#C4855D
accent
#813EE9
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2171A4

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

Preview Lab → · Contrast checker → · Palette generator →

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