#2172A0#2172A0

#2172A0 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.6% C 0.104 H 238.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2172A0
RGBrgb(33, 114, 160)
HSLhsl(202, 66%, 38%)
HSVhsv(202, 79%, 63%)
CMYKcmyk(79.4%, 28.8%, 0%, 37.3%)
CIE-LABlab(45.49, -7.51, -31.56)
CIE-LCHlch(45.49, 32.44, 256.62°)
OKLaboklab(52.64% -0.0539 -0.0893)
OKLCHoklch(52.64% 0.104 238.9)
XYZxyz(12.9872, 14.8945, 35.4413)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2172A0 #A04F21
analogous
#21A08E #2172A0 #2133A0
triadic
#2172A0 #A02172 #72A021
tetradic
#2172A0 #8E21A0 #A04F21 #33A021
square
#2172A0 #8E21A0 #A04F21 #33A021
split-complementary
#2172A0 #A02133 #A08E21
monochromatic
#0C2A3B #174E6D #2172A0 #2B96D3 #5EAFDE

Accessibility & contrast

On white

5.28
#2172A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2172A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2172A0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2172A0#FFFFFF#000000##FFFFFF
##2172A01.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C72A2
Deuteranopia (green-blind)
#4B669F
Tritanopia (blue-blind)
#007E82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2172a0;
/* rgb */ color: rgb(33, 114, 160);
/* oklch */ color: oklch(52.6% 0.104 238.9);
Tailwind
colors: {
  custom: {
    50: '#719abc',
    500: '#2172a0',
    950: '#000000',
  },
}
SCSS
$custom: #2172a0;
$custom-light: #719abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2172a0",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 160
  },
  "hsl": {
    "h": 201.732,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.52637,
    "c": 0.1043,
    "h": 238.9
  },
  "luminance": 0.14896
}

Semantic roles & 50–950 ramp

primary
#2172A0
secondary
#C2805B
accent
#7D3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2172A0

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

Preview Lab → · Contrast checker → · Palette generator →

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