#21839B#21839B

#21839B is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 56.6% C 0.093 H 218.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#21839B
RGBrgb(33, 131, 155)
HSLhsl(192, 65%, 37%)
HSVhsv(192, 79%, 61%)
CMYKcmyk(78.7%, 15.5%, 0%, 39.2%)
CIE-LABlab(50.59, -18.92, -20.71)
CIE-LCHlch(50.59, 28.05, 227.60°)
OKLaboklab(56.65% -0.0726 -0.0579)
OKLCHoklch(56.65% 0.093 218.6)
XYZxyz(14.6574, 18.9207, 33.8835)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21839B #9B3921
analogous
#219B76 #21839B #21469B
triadic
#21839B #9B2183 #839B21
tetradic
#21839B #76219B #9B3921 #469B21
square
#21839B #76219B #9B3921 #469B21
split-complementary
#21839B #9B2146 #9B7621
monochromatic
#0C2E36 #165869 #21839B #2CAECD #5AC2DC

Accessibility & contrast

On white

4.39
#21839B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#21839B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21839B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21839B#FFFFFF#000000##000000
##21839B1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#747F9C
Deuteranopia (green-blind)
#64739B
Tritanopia (blue-blind)
#008B8B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #21839b;
/* rgb */ color: rgb(33, 131, 155);
/* oklch */ color: oklch(56.6% 0.093 218.6);
Tailwind
colors: {
  custom: {
    50: '#71a7b8',
    500: '#21839b',
    950: '#000000',
  },
}
SCSS
$custom: #21839b;
$custom-light: #71a7b8;
$custom-dark: #000000;
JSON
{
  "hex": "#21839b",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 155
  },
  "hsl": {
    "h": 191.803,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56646,
    "c": 0.09286,
    "h": 218.6
  },
  "luminance": 0.18922
}

Semantic roles & 50–950 ramp

primary
#21839B
secondary
#C06C58
accent
#6140E8
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #21839B

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

Preview Lab → · Contrast checker → · Palette generator →

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