#22878E#22878E

#22878E is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.1% C 0.088 H 202.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#22878E
RGBrgb(34, 135, 142)
HSLhsl(184, 61%, 35%)
HSVhsv(184, 76%, 56%)
CMYKcmyk(76.1%, 4.9%, 0%, 44.3%)
CIE-LABlab(51.40, -25.20, -11.91)
CIE-LCHlch(51.40, 27.87, 205.29°)
OKLaboklab(57.15% -0.0819 -0.0331)
OKLCHoklch(57.15% 0.088 202)
XYZxyz(14.2040, 19.6193, 28.6242)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22878E #8E2922
analogous
#228E5F #22878E #22518E
triadic
#22878E #8E2287 #878E22
tetradic
#22878E #5F228E #8E2922 #518E22
square
#22878E #5F228E #8E2922 #518E22
split-complementary
#22878E #8E2251 #8E5F22
monochromatic
#0A292B #16585D #22878E #2EB6BF #54CED6

Accessibility & contrast

On white

4.26
#22878E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#22878E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22878E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22878E#FFFFFF#000000##000000
##22878E1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C818F
Deuteranopia (green-blind)
#6D768E
Tritanopia (blue-blind)
#008C89
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #22878e;
/* rgb */ color: rgb(34, 135, 142);
/* oklch */ color: oklch(57.1% 0.088 202.0);
Tailwind
colors: {
  custom: {
    50: '#70aaaf',
    500: '#22878e',
    950: '#000000',
  },
}
SCSS
$custom: #22878e;
$custom-light: #70aaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#22878e",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 142
  },
  "hsl": {
    "h": 183.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57146,
    "c": 0.08833,
    "h": 202
  },
  "luminance": 0.19621
}

Semantic roles & 50–950 ramp

primary
#22878E
secondary
#BA5952
accent
#4E43E4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #22878E

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

Preview Lab → · Contrast checker → · Palette generator →

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