#2179A8#2179A8

#2179A8 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.8% C 0.108 H 237.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2179A8
RGBrgb(33, 121, 168)
HSLhsl(201, 67%, 39%)
HSVhsv(201, 80%, 66%)
CMYKcmyk(80.4%, 28%, 0%, 34.1%)
CIE-LABlab(48.04, -8.67, -32.26)
CIE-LCHlch(48.04, 33.40, 254.95°)
OKLaboklab(54.79% -0.0579 -0.0912)
OKLCHoklch(54.79% 0.108 237.6)
XYZxyz(14.5296, 16.8234, 39.5197)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2179A8 #A85021
analogous
#21A894 #2179A8 #2136A8
triadic
#2179A8 #A82179 #79A821
tetradic
#2179A8 #9421A8 #A85021 #36A821
square
#2179A8 #9421A8 #A85021 #36A821
split-complementary
#2179A8 #A82136 #A89421
monochromatic
#0D2F42 #175475 #2179A8 #309CD6 #63B5E0

Accessibility & contrast

On white

4.81
#2179A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2179A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2179A8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2179A8#FFFFFF#000000##FFFFFF
##2179A81.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6279AA
Deuteranopia (green-blind)
#506CA7
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2179a8;
/* rgb */ color: rgb(33, 121, 168);
/* oklch */ color: oklch(54.8% 0.108 237.6);
Tailwind
colors: {
  custom: {
    50: '#729fc2',
    500: '#2179a8',
    950: '#000000',
  },
}
SCSS
$custom: #2179a8;
$custom-light: #729fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2179a8",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 168
  },
  "hsl": {
    "h": 200.889,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54786,
    "c": 0.10804,
    "h": 237.6
  },
  "luminance": 0.16825
}

Semantic roles & 50–950 ramp

primary
#2179A8
secondary
#C5835F
accent
#7A3EEA
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2179A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2179A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva