#21838B#21838B

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

Color values

HEX#21838B
RGBrgb(33, 131, 139)
HSLhsl(185, 62%, 34%)
HSVhsv(185, 76%, 55%)
CMYKcmyk(76.3%, 5.8%, 0%, 45.5%)
CIE-LABlab(50.00, -24.24, -12.28)
CIE-LCHlch(50.00, 27.17, 206.86°)
OKLaboklab(55.97% -0.0795 -0.0341)
OKLCHoklch(55.97% 0.087 203.2)
XYZxyz(13.4016, 18.4184, 27.2699)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21838B #8B2921
analogous
#218B5E #21838B #214E8B
triadic
#21838B #8B2183 #838B21
tetradic
#21838B #5E218B #8B2921 #4E8B21
square
#21838B #5E218B #8B2921 #4E8B21
split-complementary
#21838B #8B214E #8B5E21
monochromatic
#0A2628 #15545A #21838B #2DB2BC #51CCD6

Accessibility & contrast

On white

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

On black

4.68
#21838B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21838B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21838B#FFFFFF#000000##000000
##21838B1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#787D8C
Deuteranopia (green-blind)
#69728B
Tritanopia (blue-blind)
#008985
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #21838b;
/* rgb */ color: rgb(33, 131, 139);
/* oklch */ color: oklch(56.0% 0.086 203.2);
Tailwind
colors: {
  custom: {
    50: '#6fa7ac',
    500: '#21838b',
    950: '#000000',
  },
}
SCSS
$custom: #21838b;
$custom-light: #6fa7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#21838b",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 139
  },
  "hsl": {
    "h": 184.528,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55969,
    "c": 0.0865,
    "h": 203.2
  },
  "luminance": 0.1842
}

Semantic roles & 50–950 ramp

primary
#21838B
secondary
#B9574F
accent
#4F43E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #21838B

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

Preview Lab → · Contrast checker → · Palette generator →

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