#21799B#21799B

#21799B is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.1% C 0.095 H 229.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#21799B
RGBrgb(33, 121, 155)
HSLhsl(197, 65%, 37%)
HSVhsv(197, 79%, 61%)
CMYKcmyk(78.7%, 21.9%, 0%, 39.2%)
CIE-LABlab(47.45, -13.39, -25.57)
CIE-LCHlch(47.45, 28.86, 242.36°)
OKLaboklab(54.12% -0.0626 -0.0719)
OKLCHoklch(54.12% 0.095 229)
XYZxyz(13.3785, 16.3630, 33.4573)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21799B #9B4321
analogous
#219B80 #21799B #213C9B
triadic
#21799B #9B2179 #799B21
tetradic
#21799B #80219B #9B4321 #3C9B21
square
#21799B #80219B #9B4321 #3C9B21
split-complementary
#21799B #9B213C #9B8021
monochromatic
#0C2A36 #165269 #21799B #2CA0CD #5AB8DC

Accessibility & contrast

On white

4.91
#21799B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#21799B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21799B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21799B#FFFFFF#000000##FFFFFF
##21799B1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67779D
Deuteranopia (green-blind)
#576B9B
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21799b;
/* rgb */ color: rgb(33, 121, 155);
/* oklch */ color: oklch(54.1% 0.095 229.0);
Tailwind
colors: {
  custom: {
    50: '#709fb8',
    500: '#21799b',
    950: '#000000',
  },
}
SCSS
$custom: #21799b;
$custom-light: #709fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#21799b",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 155
  },
  "hsl": {
    "h": 196.721,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.54122,
    "c": 0.0953,
    "h": 229
  },
  "luminance": 0.16365
}

Semantic roles & 50–950 ramp

primary
#21799B
secondary
#C07558
accent
#6F40E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #21799B

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

Preview Lab → · Contrast checker → · Palette generator →

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