#21799D#21799D

#21799D is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.2% C 0.097 H 230.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#21799D
RGBrgb(33, 121, 157)
HSLhsl(197, 65%, 37%)
HSVhsv(197, 79%, 62%)
CMYKcmyk(79%, 22.9%, 0%, 38.4%)
CIE-LABlab(47.53, -12.67, -26.61)
CIE-LCHlch(47.53, 29.47, 244.53°)
OKLaboklab(54.22% -0.0618 -0.0749)
OKLCHoklch(54.22% 0.097 230.4)
XYZxyz(13.5479, 16.4308, 34.3492)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21799D #9D4521
analogous
#219D83 #21799D #213B9D
triadic
#21799D #9D2179 #799D21
tetradic
#21799D #83219D #9D4521 #3B9D21
square
#21799D #83219D #9D4521 #3B9D21
split-complementary
#21799D #9D213B #9D8321
monochromatic
#0C2B38 #16526A #21799D #2CA0D0 #5CB7DD

Accessibility & contrast

On white

4.90
#21799D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#21799D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21799D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21799D#FFFFFF#000000##FFFFFF
##21799D1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67779F
Deuteranopia (green-blind)
#566C9C
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21799d;
/* rgb */ color: rgb(33, 121, 157);
/* oklch */ color: oklch(54.2% 0.097 230.4);
Tailwind
colors: {
  custom: {
    50: '#719fba',
    500: '#21799d',
    950: '#000000',
  },
}
SCSS
$custom: #21799d;
$custom-light: #719fba;
$custom-dark: #000000;
JSON
{
  "hex": "#21799d",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 197.419,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.09709,
    "h": 230.4
  },
  "luminance": 0.16432
}

Semantic roles & 50–950 ramp

primary
#21799D
secondary
#C17759
accent
#7140E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #21799D

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

Preview Lab → · Contrast checker → · Palette generator →

#21799D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva