#2172A5#2172A5

#2172A5 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 52.9% C 0.110 H 241.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2172A5
RGBrgb(33, 114, 165)
HSLhsl(203, 67%, 39%)
HSVhsv(203, 80%, 65%)
CMYKcmyk(80%, 30.9%, 0%, 35.3%)
CIE-LABlab(45.73, -5.65, -34.12)
CIE-LCHlch(45.73, 34.58, 260.60°)
OKLaboklab(52.91% -0.0523 -0.0967)
OKLCHoklch(52.91% 0.11 241.6)
XYZxyz(13.4334, 15.0729, 37.7914)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2172A5 #A55421
analogous
#21A596 #2172A5 #2130A5
triadic
#2172A5 #A52172 #72A521
tetradic
#2172A5 #9621A5 #A55421 #30A521
square
#2172A5 #9621A5 #A55421 #30A521
split-complementary
#2172A5 #A52130 #A59621
monochromatic
#0D2C3F #174F72 #2172A5 #2E95D5 #61AFDF

Accessibility & contrast

On white

5.23
#2172A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2172A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2172A5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2172A5#FFFFFF#000000##FFFFFF
##2172A51.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A73A7
Deuteranopia (green-blind)
#4867A4
Tritanopia (blue-blind)
#007F84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2172a5;
/* rgb */ color: rgb(33, 114, 165);
/* oklch */ color: oklch(52.9% 0.110 241.6);
Tailwind
colors: {
  custom: {
    50: '#729ac0',
    500: '#2172a5',
    950: '#000000',
  },
}
SCSS
$custom: #2172a5;
$custom-light: #729ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2172a5",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 165
  },
  "hsl": {
    "h": 203.182,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.10994,
    "h": 241.6
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

primary
#2172A5
secondary
#C4855E
accent
#803EEA
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2172A5

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

Preview Lab → · Contrast checker → · Palette generator →

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