#227F8B#227F8B

#227F8B is a mid, moderate teal. Relative luminance 0.174; OKLCH L 55.0% C 0.085 H 207.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#227F8B
RGBrgb(34, 127, 139)
HSLhsl(187, 61%, 34%)
HSVhsv(187, 76%, 55%)
CMYKcmyk(75.5%, 8.6%, 0%, 45.5%)
CIE-LABlab(48.74, -22.04, -14.18)
CIE-LCHlch(48.74, 26.21, 212.76°)
OKLaboklab(54.95% -0.0749 -0.0394)
OKLCHoklch(54.95% 0.085 207.8)
XYZxyz(12.9072, 17.3814, 27.0958)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F8B #8B2E22
analogous
#228B63 #227F8B #224B8B
triadic
#227F8B #8B227F #7F8B22
tetradic
#227F8B #63228B #8B2E22 #4B8B22
square
#227F8B #63228B #8B2E22 #4B8B22
split-complementary
#227F8B #8B224B #8B6322
monochromatic
#0A2529 #16525A #227F8B #2EACBC #53C6D5

Accessibility & contrast

On white

4.69
#227F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#227F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F8B
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F8B#FFFFFF#000000##FFFFFF
##227F8B1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737A8C
Deuteranopia (green-blind)
#656F8B
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #227f8b;
/* rgb */ color: rgb(34, 127, 139);
/* oklch */ color: oklch(55.0% 0.085 207.8);
Tailwind
colors: {
  custom: {
    50: '#6fa4ac',
    500: '#227f8b',
    950: '#000000',
  },
}
SCSS
$custom: #227f8b;
$custom-light: #6fa4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#227f8b",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 139
  },
  "hsl": {
    "h": 186.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54954,
    "c": 0.08465,
    "h": 207.8
  },
  "luminance": 0.17383
}

Semantic roles & 50–950 ramp

primary
#227F8B
secondary
#B85C50
accent
#5644E4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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