#2171AA#2171AA

#2171AA is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 53.0% C 0.117 H 244.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2171AA
RGBrgb(33, 113, 170)
HSLhsl(205, 67%, 40%)
HSVhsv(205, 81%, 67%)
CMYKcmyk(80.6%, 33.5%, 0%, 33.3%)
CIE-LABlab(45.68, -3.17, -37.13)
CIE-LCHlch(45.68, 37.26, 265.13°)
OKLaboklab(52.95% -0.0498 -0.1055)
OKLCHoklch(52.95% 0.117 244.7)
XYZxyz(13.7852, 15.0342, 40.1978)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2171AA #AA5A21
analogous
#21AA9F #2171AA #212CAA
triadic
#2171AA #AA2171 #71AA21
tetradic
#2171AA #9F21AA #AA5A21 #2CAA21
square
#2171AA #9F21AA #AA5A21 #2CAA21
split-complementary
#2171AA #AA212C #AA9F21
monochromatic
#0D2D43 #174F77 #2171AA #3192D7 #64ADE1

Accessibility & contrast

On white

5.24
#2171AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2171AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2171AA#FFFFFF#000000##FFFFFF
##2171AA1.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)
#5673AC
Deuteranopia (green-blind)
#4367A9
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2171aa;
/* rgb */ color: rgb(33, 113, 170);
/* oklch */ color: oklch(53.0% 0.117 244.7);
Tailwind
colors: {
  custom: {
    50: '#7399c3',
    500: '#2171aa',
    950: '#000000',
  },
}
SCSS
$custom: #2171aa;
$custom-light: #7399c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2171aa",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 204.964,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52953,
    "c": 0.11667,
    "h": 244.7
  },
  "luminance": 0.15036
}

Semantic roles & 50–950 ramp

primary
#2171AA
secondary
#C68B61
accent
#853DEA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2171AA

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

Preview Lab → · Contrast checker → · Palette generator →

#2171AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva