#2171AF#2171AF

#2171AF is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.2% C 0.123 H 246.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2171AF
RGBrgb(33, 113, 175)
HSLhsl(206, 68%, 41%)
HSVhsv(206, 81%, 69%)
CMYKcmyk(81.1%, 35.4%, 0%, 31.4%)
CIE-LABlab(45.94, -1.27, -39.63)
CIE-LCHlch(45.94, 39.66, 268.16°)
OKLaboklab(53.25% -0.0483 -0.1128)
OKLCHoklch(53.25% 0.123 246.8)
XYZxyz(14.2672, 15.2270, 42.7363)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2171AF #AF5F21
analogous
#21AFA6 #2171AF #212AAF
triadic
#2171AF #AF2171 #71AF21
tetradic
#2171AF #A621AF #AF5F21 #2AAF21
square
#2171AF #A621AF #AF5F21 #2AAF21
split-complementary
#2171AF #AF212A #AFA621
monochromatic
#0E2F48 #17507C #2171AF #3491D9 #68ADE3

Accessibility & contrast

On white

5.19
#2171AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2171AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2171AF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2171AF#FFFFFF#000000##FFFFFF
##2171AF1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#3F67AE
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2171af;
/* rgb */ color: rgb(33, 113, 175);
/* oklch */ color: oklch(53.2% 0.123 246.8);
Tailwind
colors: {
  custom: {
    50: '#7499c7',
    500: '#2171af',
    950: '#000000',
  },
}
SCSS
$custom: #2171af;
$custom-light: #7499c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2171af",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 206.197,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53246,
    "c": 0.12276,
    "h": 246.8
  },
  "luminance": 0.15229
}

Semantic roles & 50–950 ramp

primary
#2171AF
secondary
#C89064
accent
#893DEB
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2171AF

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

Preview Lab → · Contrast checker → · Palette generator →

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