#21838E#21838E

#21838E is a mid, moderate teal. Relative luminance 0.185; OKLCH L 56.1% C 0.087 H 206.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#21838E
RGBrgb(33, 131, 142)
HSLhsl(186, 62%, 34%)
HSVhsv(186, 77%, 56%)
CMYKcmyk(76.8%, 7.7%, 0%, 44.3%)
CIE-LABlab(50.11, -23.27, -13.87)
CIE-LCHlch(50.11, 27.09, 210.80°)
OKLaboklab(56.09% -0.0781 -0.0386)
OKLCHoklch(56.09% 0.087 206.3)
XYZxyz(13.6238, 18.5073, 28.4402)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21838E #8E2C21
analogous
#218E63 #21838E #214D8E
triadic
#21838E #8E2183 #838E21
tetradic
#21838E #63218E #8E2C21 #4D8E21
square
#21838E #63218E #8E2C21 #4D8E21
split-complementary
#21838E #8E214D #8E6321
monochromatic
#0A272B #15555C #21838E #2DB1C0 #52CAD7

Accessibility & contrast

On white

4.47
#21838E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#21838E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21838E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21838E#FFFFFF#000000##000000
##21838E1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#777E8F
Deuteranopia (green-blind)
#68728E
Tritanopia (blue-blind)
#008986
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #21838e;
/* rgb */ color: rgb(33, 131, 142);
/* oklch */ color: oklch(56.1% 0.087 206.3);
Tailwind
colors: {
  custom: {
    50: '#6fa7af',
    500: '#21838e',
    950: '#000000',
  },
}
SCSS
$custom: #21838e;
$custom-light: #6fa7af;
$custom-dark: #000000;
JSON
{
  "hex": "#21838e",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 142
  },
  "hsl": {
    "h": 186.055,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5609,
    "c": 0.08714,
    "h": 206.3
  },
  "luminance": 0.18509
}

Semantic roles & 50–950 ramp

primary
#21838E
secondary
#BA5B50
accent
#5342E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #21838E

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

Preview Lab → · Contrast checker → · Palette generator →

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