#2172A7#2172A7

#2172A7 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.0% C 0.112 H 242.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2172A7
RGBrgb(33, 114, 167)
HSLhsl(204, 67%, 39%)
HSVhsv(204, 80%, 65%)
CMYKcmyk(80.2%, 31.7%, 0%, 34.5%)
CIE-LABlab(45.83, -4.90, -35.13)
CIE-LCHlch(45.83, 35.47, 262.06°)
OKLaboklab(53.02% -0.0516 -0.0997)
OKLCHoklch(53.02% 0.112 242.6)
XYZxyz(13.6168, 15.1463, 38.7576)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2172A7 #A75621
analogous
#21A799 #2172A7 #212FA7
triadic
#2172A7 #A72172 #72A721
tetradic
#2172A7 #9921A7 #A75621 #2FA721
square
#2172A7 #9921A7 #A75621 #2FA721
split-complementary
#2172A7 #A7212F #A79921
monochromatic
#0D2C41 #174F74 #2172A7 #2F94D6 #62AEE0

Accessibility & contrast

On white

5.21
#2172A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2172A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2172A7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2172A7#FFFFFF#000000##FFFFFF
##2172A71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5973A9
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2172a7;
/* rgb */ color: rgb(33, 114, 167);
/* oklch */ color: oklch(53.0% 0.112 242.6);
Tailwind
colors: {
  custom: {
    50: '#729ac1',
    500: '#2172a7',
    950: '#000000',
  },
}
SCSS
$custom: #2172a7;
$custom-light: #729ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2172a7",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 167
  },
  "hsl": {
    "h": 203.731,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.53023,
    "c": 0.11226,
    "h": 242.6
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#2172A7
secondary
#C5875F
accent
#823EEA
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2172A7

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

Preview Lab → · Contrast checker → · Palette generator →

#2172A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva