#227C8C#227C8C

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

Color values

HEX#227C8C
RGBrgb(34, 124, 140)
HSLhsl(189, 61%, 34%)
HSVhsv(189, 76%, 55%)
CMYKcmyk(75.7%, 11.4%, 0%, 45.1%)
CIE-LABlab(47.81, -20.12, -16.18)
CIE-LCHlch(47.81, 25.81, 218.81°)
OKLaboklab(54.22% -0.0713 -0.0451)
OKLCHoklch(54.22% 0.084 212.3)
XYZxyz(12.5989, 16.6473, 27.3551)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C8C #8C3222
analogous
#228C67 #227C8C #22478C
triadic
#227C8C #8C227C #7C8C22
tetradic
#227C8C #67228C #8C3222 #478C22
square
#227C8C #67228C #8C3222 #478C22
split-complementary
#227C8C #8C2247 #8C6722
monochromatic
#0A252A #16505B #227C8C #2EA8BD #53C2D5

Accessibility & contrast

On white

4.85
#227C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#227C8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C8C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C8C#FFFFFF#000000##FFFFFF
##227C8C1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70788D
Deuteranopia (green-blind)
#616D8C
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227c8c;
/* rgb */ color: rgb(34, 124, 140);
/* oklch */ color: oklch(54.2% 0.084 212.3);
Tailwind
colors: {
  custom: {
    50: '#6ea2ad',
    500: '#227c8c',
    950: '#000000',
  },
}
SCSS
$custom: #227c8c;
$custom-light: #6ea2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#227c8c",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 140
  },
  "hsl": {
    "h": 189.057,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5422,
    "c": 0.08436,
    "h": 212.3
  },
  "luminance": 0.16649
}

Semantic roles & 50–950 ramp

primary
#227C8C
secondary
#B96151
accent
#5C44E4
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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