#2172A4#2172A4

#2172A4 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.9% C 0.109 H 241.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2172A4
RGBrgb(33, 114, 164)
HSLhsl(203, 66%, 39%)
HSVhsv(203, 80%, 64%)
CMYKcmyk(79.9%, 30.5%, 0%, 35.7%)
CIE-LABlab(45.68, -6.02, -33.61)
CIE-LCHlch(45.68, 34.14, 259.84°)
OKLaboklab(52.86% -0.0526 -0.0952)
OKLCHoklch(52.86% 0.109 241.1)
XYZxyz(13.3427, 15.0367, 37.3139)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2172A4 #A45321
analogous
#21A494 #2172A4 #2130A4
triadic
#2172A4 #A42172 #72A421
tetradic
#2172A4 #9421A4 #A45321 #30A421
square
#2172A4 #9421A4 #A45321 #30A421
split-complementary
#2172A4 #A42130 #A49421
monochromatic
#0C2B3E #174F71 #2172A4 #2D95D5 #60AFDF

Accessibility & contrast

On white

5.24
#2172A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2172A4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2172A4#FFFFFF#000000##FFFFFF
##2172A41.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A73A6
Deuteranopia (green-blind)
#4967A3
Tritanopia (blue-blind)
#007E84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2172a4;
/* rgb */ color: rgb(33, 114, 164);
/* oklch */ color: oklch(52.9% 0.109 241.1);
Tailwind
colors: {
  custom: {
    50: '#719abf',
    500: '#2172a4',
    950: '#000000',
  },
}
SCSS
$custom: #2172a4;
$custom-light: #719abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2172a4",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 164
  },
  "hsl": {
    "h": 202.901,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52856,
    "c": 0.10878,
    "h": 241.1
  },
  "luminance": 0.15038
}

Semantic roles & 50–950 ramp

primary
#2172A4
secondary
#C4845D
accent
#803EE9
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2172A4

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

Preview Lab → · Contrast checker → · Palette generator →

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