#227F8F#227F8F

#227F8F is a mid, moderate teal. Relative luminance 0.175; OKLCH L 55.1% C 0.086 H 211.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#227F8F
RGBrgb(34, 127, 143)
HSLhsl(189, 62%, 35%)
HSVhsv(189, 76%, 56%)
CMYKcmyk(76.2%, 11.2%, 0%, 43.9%)
CIE-LABlab(48.88, -20.71, -16.31)
CIE-LCHlch(48.88, 26.36, 218.22°)
OKLaboklab(55.12% -0.0732 -0.0454)
OKLCHoklch(55.12% 0.086 211.8)
XYZxyz(13.2049, 17.5004, 28.6632)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F8F #8F3222
analogous
#228F68 #227F8F #22498F
triadic
#227F8F #8F227F #7F8F22
tetradic
#227F8F #68228F #8F3222 #498F22
square
#227F8F #68228F #8F3222 #498F22
split-complementary
#227F8F #8F2249 #8F6822
monochromatic
#0A272C #16535E #227F8F #2EABC0 #55C4D7

Accessibility & contrast

On white

4.67
#227F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#227F8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227F8F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F8F#FFFFFF#000000##FFFFFF
##227F8F1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727A90
Deuteranopia (green-blind)
#636F8F
Tritanopia (blue-blind)
#008684
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #227f8f;
/* rgb */ color: rgb(34, 127, 143);
/* oklch */ color: oklch(55.1% 0.086 211.8);
Tailwind
colors: {
  custom: {
    50: '#6fa4af',
    500: '#227f8f',
    950: '#000000',
  },
}
SCSS
$custom: #227f8f;
$custom-light: #6fa4af;
$custom-dark: #000000;
JSON
{
  "hex": "#227f8f",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 143
  },
  "hsl": {
    "h": 188.807,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55122,
    "c": 0.08611,
    "h": 211.8
  },
  "luminance": 0.17502
}

Semantic roles & 50–950 ramp

primary
#227F8F
secondary
#BA6252
accent
#5B43E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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