#228E8B#228E8B

#228E8B is a mid, moderate teal. Relative luminance 0.215; OKLCH L 58.9% C 0.093 H 192.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#228E8B
RGBrgb(34, 142, 139)
HSLhsl(178, 61%, 35%)
HSVhsv(178, 76%, 56%)
CMYKcmyk(76.1%, 0%, 2.1%, 44.3%)
CIE-LABlab(53.54, -29.61, -6.96)
CIE-LCHlch(53.54, 30.42, 193.23°)
OKLaboklab(58.85% -0.0905 -0.0194)
OKLCHoklch(58.85% 0.093 192.1)
XYZxyz(14.9907, 21.5483, 27.7903)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E8B #8E2225
analogous
#228E55 #228E8B #225B8E
triadic
#228E8B #8B228E #8E8B22
tetradic
#228E8B #55228E #8E2225 #5B8E22
square
#228E8B #55228E #8E2225 #5B8E22
split-complementary
#228E8B #8E225B #8E5522
monochromatic
#0A2B2A #165D5B #228E8B #2EBFBB #54D6D3

Accessibility & contrast

On white

3.95
#228E8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#228E8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E8B
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E8B#FFFFFF#000000##000000
##228E8B1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85868B
Deuteranopia (green-blind)
#767B8C
Tritanopia (blue-blind)
#00928D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #228e8b;
/* rgb */ color: rgb(34, 142, 139);
/* oklch */ color: oklch(58.9% 0.093 192.1);
Tailwind
colors: {
  custom: {
    50: '#71afac',
    500: '#228e8b',
    950: '#000000',
  },
}
SCSS
$custom: #228e8b;
$custom-light: #71afac;
$custom-dark: #000000;
JSON
{
  "hex": "#228e8b",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 139
  },
  "hsl": {
    "h": 178.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5885,
    "c": 0.0926,
    "h": 192.1
  },
  "luminance": 0.2155
}

Semantic roles & 50–950 ramp

primary
#228E8B
secondary
#BA5255
accent
#4348E4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #228E8B

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

Preview Lab → · Contrast checker → · Palette generator →

#228E8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva