#2171A8#2171A8

#2171A8 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.8% C 0.114 H 243.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2171A8
RGBrgb(33, 113, 168)
HSLhsl(204, 67%, 39%)
HSVhsv(204, 80%, 66%)
CMYKcmyk(80.4%, 32.7%, 0%, 34.1%)
CIE-LABlab(45.58, -3.92, -36.12)
CIE-LCHlch(45.58, 36.33, 263.81°)
OKLaboklab(52.84% -0.0504 -0.1026)
OKLCHoklch(52.84% 0.114 243.8)
XYZxyz(13.5975, 14.9591, 39.2089)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2171A8 #A85821
analogous
#21A89B #2171A8 #212EA8
triadic
#2171A8 #A82171 #71A821
tetradic
#2171A8 #9B21A8 #A85821 #2EA821
square
#2171A8 #9B21A8 #A85821 #2EA821
split-complementary
#2171A8 #A8212E #A89B21
monochromatic
#0D2C42 #174F75 #2171A8 #3093D6 #63ADE0

Accessibility & contrast

On white

5.26
#2171A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2171A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2171A8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2171A8#FFFFFF#000000##FFFFFF
##2171A81.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AA
Deuteranopia (green-blind)
#4466A7
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2171a8;
/* rgb */ color: rgb(33, 113, 168);
/* oklch */ color: oklch(52.8% 0.114 243.8);
Tailwind
colors: {
  custom: {
    50: '#7299c2',
    500: '#2171a8',
    950: '#000000',
  },
}
SCSS
$custom: #2171a8;
$custom-light: #7299c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2171a8",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 168
  },
  "hsl": {
    "h": 204.444,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52838,
    "c": 0.11429,
    "h": 243.8
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#2171A8
secondary
#C5895F
accent
#843EEA
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2171A8

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

Preview Lab → · Contrast checker → · Palette generator →

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