#227D8E#227D8E

#227D8E is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.6% C 0.085 H 213.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#227D8E
RGBrgb(34, 125, 142)
HSLhsl(189, 61%, 35%)
HSVhsv(189, 76%, 56%)
CMYKcmyk(76.1%, 12%, 0%, 44.3%)
CIE-LABlab(48.21, -19.98, -16.75)
CIE-LCHlch(48.21, 26.07, 219.98°)
OKLaboklab(54.56% -0.0715 -0.0467)
OKLCHoklch(54.56% 0.085 213.1)
XYZxyz(12.8737, 16.9588, 28.1808)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D8E #8E3322
analogous
#228E69 #227D8E #22478E
triadic
#227D8E #8E227D #7D8E22
tetradic
#227D8E #69228E #8E3322 #478E22
square
#227D8E #69228E #8E3322 #478E22
split-complementary
#227D8E #8E2247 #8E6922
monochromatic
#0A262B #16525D #227D8E #2EA8BF #54C2D6

Accessibility & contrast

On white

4.78
#227D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#227D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D8E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D8E#FFFFFF#000000##FFFFFF
##227D8E1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70798F
Deuteranopia (green-blind)
#616E8E
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227d8e;
/* rgb */ color: rgb(34, 125, 142);
/* oklch */ color: oklch(54.6% 0.085 213.1);
Tailwind
colors: {
  custom: {
    50: '#6fa3af',
    500: '#227d8e',
    950: '#000000',
  },
}
SCSS
$custom: #227d8e;
$custom-light: #6fa3af;
$custom-dark: #000000;
JSON
{
  "hex": "#227d8e",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 142
  },
  "hsl": {
    "h": 189.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.08539,
    "h": 213.1
  },
  "luminance": 0.1696
}

Semantic roles & 50–950 ramp

primary
#227D8E
secondary
#BA6252
accent
#5D43E4
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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