#227F87#227F87

#227F87 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.8% C 0.084 H 203.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#227F87
RGBrgb(34, 127, 135)
HSLhsl(185, 60%, 33%)
HSVhsv(185, 75%, 53%)
CMYKcmyk(74.8%, 5.9%, 0%, 47.1%)
CIE-LABlab(48.59, -23.34, -12.05)
CIE-LCHlch(48.59, 26.27, 207.30°)
OKLaboklab(54.79% -0.0767 -0.0335)
OKLCHoklch(54.79% 0.084 203.6)
XYZxyz(12.6203, 17.2666, 25.5846)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F87 #872A22
analogous
#22875C #227F87 #224D87
triadic
#227F87 #87227F #7F8722
tetradic
#227F87 #5C2287 #872A22 #4D8722
square
#227F87 #5C2287 #872A22 #4D8722
split-complementary
#227F87 #87224D #875C22
monochromatic
#092325 #165156 #227F87 #2EADB8 #50C9D3

Accessibility & contrast

On white

4.72
#227F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#227F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F87
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F87#FFFFFF#000000##FFFFFF
##227F871.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747988
Deuteranopia (green-blind)
#666F87
Tritanopia (blue-blind)
#008481
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #227f87;
/* rgb */ color: rgb(34, 127, 135);
/* oklch */ color: oklch(54.8% 0.084 203.6);
Tailwind
colors: {
  custom: {
    50: '#6ea4aa',
    500: '#227f87',
    950: '#000000',
  },
}
SCSS
$custom: #227f87;
$custom-light: #6ea4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#227f87",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 135
  },
  "hsl": {
    "h": 184.752,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54791,
    "c": 0.08366,
    "h": 203.6
  },
  "luminance": 0.17268
}

Semantic roles & 50–950 ramp

primary
#227F87
secondary
#B7574E
accent
#5145E3
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227F87

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

Preview Lab → · Contrast checker → · Palette generator →

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