#21799F#21799F

#21799F is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.099 H 231.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#21799F
RGBrgb(33, 121, 159)
HSLhsl(198, 66%, 38%)
HSVhsv(198, 79%, 62%)
CMYKcmyk(79.2%, 23.9%, 0%, 37.6%)
CIE-LABlab(47.62, -11.95, -27.64)
CIE-LCHlch(47.62, 30.11, 246.62°)
OKLaboklab(54.32% -0.0611 -0.0778)
OKLCHoklch(54.32% 0.099 231.9)
XYZxyz(13.7200, 16.4996, 35.2558)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21799F #9F4721
analogous
#219F86 #21799F #213A9F
triadic
#21799F #9F2179 #799F21
tetradic
#21799F #86219F #9F4721 #3A9F21
square
#21799F #86219F #9F4721 #3A9F21
split-complementary
#21799F #9F213A #9F8621
monochromatic
#0C2C3A #16526C #21799F #2CA0D2 #5DB7DD

Accessibility & contrast

On white

4.88
#21799F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#21799F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21799F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21799F#FFFFFF#000000##FFFFFF
##21799F1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6678A1
Deuteranopia (green-blind)
#556C9E
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21799f;
/* rgb */ color: rgb(33, 121, 159);
/* oklch */ color: oklch(54.3% 0.099 231.9);
Tailwind
colors: {
  custom: {
    50: '#719fbb',
    500: '#21799f',
    950: '#000000',
  },
}
SCSS
$custom: #21799f;
$custom-light: #719fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#21799f",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 198.095,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.54321,
    "c": 0.09896,
    "h": 231.9
  },
  "luminance": 0.16501
}

Semantic roles & 50–950 ramp

primary
#21799F
secondary
#C2795A
accent
#723FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #21799F

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

Preview Lab → · Contrast checker → · Palette generator →

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