#21838C#21838C

#21838C is a mid, moderate teal. Relative luminance 0.184; OKLCH L 56.0% C 0.087 H 204.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#21838C
RGBrgb(33, 131, 140)
HSLhsl(185, 62%, 34%)
HSVhsv(185, 76%, 55%)
CMYKcmyk(76.4%, 6.4%, 0%, 45.1%)
CIE-LABlab(50.03, -23.92, -12.81)
CIE-LCHlch(50.03, 27.13, 208.17°)
OKLaboklab(56.01% -0.079 -0.0356)
OKLCHoklch(56.01% 0.087 204.2)
XYZxyz(13.4750, 18.4478, 27.6564)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21838C #8C2A21
analogous
#218C60 #21838C #214E8C
triadic
#21838C #8C2183 #838C21
tetradic
#21838C #60218C #8C2A21 #4E8C21
square
#21838C #60218C #8C2A21 #4E8C21
split-complementary
#21838C #8C214E #8C6021
monochromatic
#0A2629 #15555A #21838C #2DB1BE #51CBD6

Accessibility & contrast

On white

4.48
#21838C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#21838C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21838C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21838C#FFFFFF#000000##000000
##21838C1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#787D8D
Deuteranopia (green-blind)
#69728C
Tritanopia (blue-blind)
#008986
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #21838c;
/* rgb */ color: rgb(33, 131, 140);
/* oklch */ color: oklch(56.0% 0.087 204.2);
Tailwind
colors: {
  custom: {
    50: '#6fa7ad',
    500: '#21838c',
    950: '#000000',
  },
}
SCSS
$custom: #21838c;
$custom-light: #6fa7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21838c",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 140
  },
  "hsl": {
    "h": 185.047,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56009,
    "c": 0.08668,
    "h": 204.2
  },
  "luminance": 0.18449
}

Semantic roles & 50–950 ramp

primary
#21838C
secondary
#B9584F
accent
#5043E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #21838C

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

Preview Lab → · Contrast checker → · Palette generator →

#21838C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva