#227F8E#227F8E

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

Color values

HEX#227F8E
RGBrgb(34, 127, 142)
HSLhsl(188, 61%, 35%)
HSVhsv(188, 76%, 56%)
CMYKcmyk(76.1%, 10.6%, 0%, 44.3%)
CIE-LABlab(48.85, -21.05, -15.78)
CIE-LCHlch(48.85, 26.30, 216.86°)
OKLaboklab(55.08% -0.0736 -0.0439)
OKLCHoklch(55.08% 0.086 210.8)
XYZxyz(13.1294, 17.4702, 28.2661)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F8E #8E3122
analogous
#228E67 #227F8E #22498E
triadic
#227F8E #8E227F #7F8E22
tetradic
#227F8E #67228E #8E3122 #498E22
square
#227F8E #67228E #8E3122 #498E22
split-complementary
#227F8E #8E2249 #8E6722
monochromatic
#0A272B #16535D #227F8E #2EABBF #54C4D6

Accessibility & contrast

On white

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

On black

4.49
#227F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##227F8E#FFFFFF#000000##FFFFFF
##227F8E1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737A8F
Deuteranopia (green-blind)
#646F8E
Tritanopia (blue-blind)
#008584
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #227f8e;
/* rgb */ color: rgb(34, 127, 142);
/* oklch */ color: oklch(55.1% 0.086 210.8);
Tailwind
colors: {
  custom: {
    50: '#6fa4af',
    500: '#227f8e',
    950: '#000000',
  },
}
SCSS
$custom: #227f8e;
$custom-light: #6fa4af;
$custom-dark: #000000;
JSON
{
  "hex": "#227f8e",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 142
  },
  "hsl": {
    "h": 188.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55079,
    "c": 0.0857,
    "h": 210.8
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#227F8E
secondary
#BA6052
accent
#5A43E4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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