#227F7B#227F7B

#227F7B is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.3% C 0.084 H 190.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#227F7B
RGBrgb(34, 127, 123)
HSLhsl(177, 58%, 32%)
HSVhsv(177, 73%, 50%)
CMYKcmyk(73.2%, 0%, 3.1%, 50.2%)
CIE-LABlab(48.19, -27.11, -5.57)
CIE-LCHlch(48.19, 27.67, 191.62°)
OKLaboklab(54.33% -0.0823 -0.0156)
OKLCHoklch(54.33% 0.084 190.7)
XYZxyz(11.8226, 16.9475, 21.3832)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F7B #7F2226
analogous
#227F4D #227F7B #22557F
triadic
#227F7B #7B227F #7F7B22
tetradic
#227F7B #4D227F #7F2226 #557F22
square
#227F7B #4D227F #7F2226 #557F22
split-complementary
#227F7B #7F2255 #7F4D22
monochromatic
#081E1D #154F4C #227F7B #2FAFAA #4CCFCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227F7B#FFFFFF#000000##FFFFFF
##227F7B1.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)
#77787B
Deuteranopia (green-blind)
#6A6E7C
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227f7b;
/* rgb */ color: rgb(34, 127, 123);
/* oklch */ color: oklch(54.3% 0.084 190.7);
Tailwind
colors: {
  custom: {
    50: '#6da4a1',
    500: '#227f7b',
    950: '#000000',
  },
}
SCSS
$custom: #227f7b;
$custom-light: #6da4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#227f7b",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 123
  },
  "hsl": {
    "h": 177.419,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54334,
    "c": 0.08373,
    "h": 190.7
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#227F7B
secondary
#B24B50
accent
#474DE1
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #227F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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