#227F88#227F88

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

Color values

HEX#227F88
RGBrgb(34, 127, 136)
HSLhsl(185, 60%, 33%)
HSVhsv(185, 75%, 53%)
CMYKcmyk(75%, 6.6%, 0%, 46.7%)
CIE-LABlab(48.63, -23.02, -12.58)
CIE-LCHlch(48.63, 26.23, 208.66°)
OKLaboklab(54.83% -0.0762 -0.035)
OKLCHoklch(54.83% 0.084 204.6)
XYZxyz(12.6910, 17.2949, 25.9572)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F88 #882B22
analogous
#22885E #227F88 #224C88
triadic
#227F88 #88227F #7F8822
tetradic
#227F88 #5E2288 #882B22 #4C8822
square
#227F88 #5E2288 #882B22 #4C8822
split-complementary
#227F88 #88224C #885E22
monochromatic
#0A2426 #165157 #227F88 #2EADB9 #51C8D3

Accessibility & contrast

On white

4.71
#227F88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#227F88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F88
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F88#FFFFFF#000000##FFFFFF
##227F881.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747A89
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #227f88;
/* rgb */ color: rgb(34, 127, 136);
/* oklch */ color: oklch(54.8% 0.084 204.6);
Tailwind
colors: {
  custom: {
    50: '#6ea4aa',
    500: '#227f88',
    950: '#000000',
  },
}
SCSS
$custom: #227f88;
$custom-light: #6ea4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#227f88",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 136
  },
  "hsl": {
    "h": 185.294,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54831,
    "c": 0.08386,
    "h": 204.6
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#227F88
secondary
#B7584F
accent
#5345E3
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227F88

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

Preview Lab → · Contrast checker → · Palette generator →

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