#227C8B#227C8B

#227C8B is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.2% C 0.084 H 211.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#227C8B
RGBrgb(34, 124, 139)
HSLhsl(189, 61%, 34%)
HSVhsv(189, 76%, 55%)
CMYKcmyk(75.5%, 10.8%, 0%, 45.5%)
CIE-LABlab(47.78, -20.45, -15.64)
CIE-LCHlch(47.78, 25.75, 217.42°)
OKLaboklab(54.18% -0.0717 -0.0436)
OKLCHoklch(54.18% 0.084 211.3)
XYZxyz(12.5255, 16.6180, 26.9685)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C8B #8B3122
analogous
#228B66 #227C8B #22488B
triadic
#227C8B #8B227C #7C8B22
tetradic
#227C8B #66228B #8B3122 #488B22
square
#227C8B #66228B #8B3122 #488B22
split-complementary
#227C8B #8B2248 #8B6622
monochromatic
#0A2429 #16505A #227C8B #2EA8BC #53C2D5

Accessibility & contrast

On white

4.86
#227C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#227C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C8B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C8B#FFFFFF#000000##FFFFFF
##227C8B1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70778C
Deuteranopia (green-blind)
#616D8B
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227c8b;
/* rgb */ color: rgb(34, 124, 139);
/* oklch */ color: oklch(54.2% 0.084 211.3);
Tailwind
colors: {
  custom: {
    50: '#6ea2ac',
    500: '#227c8b',
    950: '#000000',
  },
}
SCSS
$custom: #227c8b;
$custom-light: #6ea2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#227c8b",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 139
  },
  "hsl": {
    "h": 188.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54178,
    "c": 0.08394,
    "h": 211.3
  },
  "luminance": 0.16619
}

Semantic roles & 50–950 ramp

primary
#227C8B
secondary
#B85F50
accent
#5B44E4
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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