#227E8E#227E8E

#227E8E is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.8% C 0.086 H 212.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#227E8E
RGBrgb(34, 126, 142)
HSLhsl(189, 61%, 35%)
HSVhsv(189, 76%, 56%)
CMYKcmyk(76.1%, 11.3%, 0%, 44.3%)
CIE-LABlab(48.53, -20.51, -16.27)
CIE-LCHlch(48.53, 26.18, 218.41°)
OKLaboklab(54.82% -0.0725 -0.0453)
OKLCHoklch(54.82% 0.086 212)
XYZxyz(13.0009, 17.2132, 28.2232)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E8E #8E3222
analogous
#228E68 #227E8E #22488E
triadic
#227E8E #8E227E #7E8E22
tetradic
#227E8E #68228E #8E3222 #488E22
square
#227E8E #68228E #8E3222 #488E22
split-complementary
#227E8E #8E2248 #8E6822
monochromatic
#0A262B #16525D #227E8E #2EAABF #54C3D6

Accessibility & contrast

On white

4.73
#227E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#227E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E8E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E8E#FFFFFF#000000##FFFFFF
##227E8E1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71798F
Deuteranopia (green-blind)
#636F8E
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #227e8e;
/* rgb */ color: rgb(34, 126, 142);
/* oklch */ color: oklch(54.8% 0.086 212.0);
Tailwind
colors: {
  custom: {
    50: '#6fa3af',
    500: '#227e8e',
    950: '#000000',
  },
}
SCSS
$custom: #227e8e;
$custom-light: #6fa3af;
$custom-dark: #000000;
JSON
{
  "hex": "#227e8e",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 142
  },
  "hsl": {
    "h": 188.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54822,
    "c": 0.08553,
    "h": 212
  },
  "luminance": 0.17215
}

Semantic roles & 50–950 ramp

primary
#227E8E
secondary
#BA6152
accent
#5B43E4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227E8E

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

Preview Lab → · Contrast checker → · Palette generator →

#227E8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva