#21838F#21838F

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

Color values

HEX#21838F
RGBrgb(33, 131, 143)
HSLhsl(187, 63%, 35%)
HSVhsv(187, 77%, 56%)
CMYKcmyk(76.9%, 8.4%, 0%, 43.9%)
CIE-LABlab(50.14, -22.94, -14.40)
CIE-LCHlch(50.14, 27.08, 212.12°)
OKLaboklab(56.13% -0.0777 -0.0401)
OKLCHoklch(56.13% 0.087 207.3)
XYZxyz(13.6993, 18.5374, 28.8374)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21838F #8F2D21
analogous
#218F64 #21838F #214C8F
triadic
#21838F #8F2183 #838F21
tetradic
#21838F #64218F #8F2D21 #4C8F21
square
#21838F #64218F #8F2D21 #4C8F21
split-complementary
#21838F #8F214C #8F6421
monochromatic
#0A282C #16555D #21838F #2CB1C1 #53C9D7

Accessibility & contrast

On white

4.46
#21838F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#21838F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21838F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21838F#FFFFFF#000000##000000
##21838F1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#777E90
Deuteranopia (green-blind)
#68738F
Tritanopia (blue-blind)
#008987
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #21838f;
/* rgb */ color: rgb(33, 131, 143);
/* oklch */ color: oklch(56.1% 0.087 207.3);
Tailwind
colors: {
  custom: {
    50: '#6fa7af',
    500: '#21838f',
    950: '#000000',
  },
}
SCSS
$custom: #21838f;
$custom-light: #6fa7af;
$custom-dark: #000000;
JSON
{
  "hex": "#21838f",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 143
  },
  "hsl": {
    "h": 186.545,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56131,
    "c": 0.08742,
    "h": 207.3
  },
  "luminance": 0.18539
}

Semantic roles & 50–950 ramp

primary
#21838F
secondary
#BB5C51
accent
#5442E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #21838F

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

Preview Lab → · Contrast checker → · Palette generator →

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