#228787#228787

#228787 is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.9% C 0.088 H 195.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#228787
RGBrgb(34, 135, 135)
HSLhsl(180, 60%, 33%)
HSVhsv(180, 75%, 53%)
CMYKcmyk(74.8%, 0%, 0%, 47.1%)
CIE-LABlab(51.17, -27.40, -8.18)
CIE-LCHlch(51.17, 28.59, 196.62°)
OKLaboklab(56.88% -0.0851 -0.0227)
OKLCHoklch(56.88% 0.088 195)
XYZxyz(13.6948, 19.4156, 25.9428)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228787 #872222
analogous
#228754 #228787 #225487
triadic
#228787 #872287 #878722
tetradic
#228787 #542287 #872222 #548722
square
#228787 #542287 #872222 #548722
split-complementary
#228787 #872254 #875422
monochromatic
#092525 #165656 #228787 #2EB8B8 #50D3D3

Accessibility & contrast

On white

4.30
#228787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#228787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228787
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228787#FFFFFF#000000##000000
##2287871.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8087
Deuteranopia (green-blind)
#6F7588
Tritanopia (blue-blind)
#008B87
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228787;
/* rgb */ color: rgb(34, 135, 135);
/* oklch */ color: oklch(56.9% 0.088 195.0);
Tailwind
colors: {
  custom: {
    50: '#6faaa9',
    500: '#228787',
    950: '#000000',
  },
}
SCSS
$custom: #228787;
$custom-light: #6faaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#228787",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 135
  },
  "hsl": {
    "h": 180,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56879,
    "c": 0.0881,
    "h": 195
  },
  "luminance": 0.19417
}

Semantic roles & 50–950 ramp

primary
#228787
secondary
#B74E4E
accent
#4545E3
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#081010
muted
#7B7F7F

Preview Lab

Preview with #228787

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

Preview Lab → · Contrast checker → · Palette generator →

#228787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva