#227B6D#227B6D

#227B6D is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.8% C 0.085 H 180.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#227B6D
RGBrgb(34, 123, 109)
HSLhsl(171, 57%, 31%)
HSVhsv(171, 72%, 48%)
CMYKcmyk(72.4%, 0%, 11.4%, 51.8%)
CIE-LABlab(46.46, -29.29, 0.15)
CIE-LCHlch(46.46, 29.29, 179.71°)
OKLaboklab(52.78% -0.0848 -0.0001)
OKLCHoklch(52.78% 0.085 180.1)
XYZxyz(10.5016, 15.6089, 16.9244)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B6D #7B2230
analogous
#227B40 #227B6D #225C7B
triadic
#227B6D #6D227B #7B6D22
tetradic
#227B6D #40227B #7B2230 #5C7B22
square
#227B6D #40227B #7B2230 #5C7B22
split-complementary
#227B6D #7B225C #7B4022
monochromatic
#071B18 #154B43 #227B6D #2FAB97 #4ACDB8

Accessibility & contrast

On white

5.09
#227B6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#227B6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B6D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B6D#FFFFFF#000000##FFFFFF
##227B6D1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76736C
Deuteranopia (green-blind)
#696A6E
Tritanopia (blue-blind)
#007D77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227b6d;
/* rgb */ color: rgb(34, 123, 109);
/* oklch */ color: oklch(52.8% 0.085 180.1);
Tailwind
colors: {
  custom: {
    50: '#6ba296',
    500: '#227b6d',
    950: '#000000',
  },
}
SCSS
$custom: #227b6d;
$custom-light: #6ba296;
$custom-dark: #000000;
JSON
{
  "hex": "#227b6d",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 109
  },
  "hsl": {
    "h": 170.562,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5278,
    "c": 0.08476,
    "h": 180.1
  },
  "luminance": 0.1561
}

Semantic roles & 50–950 ramp

primary
#227B6D
secondary
#AE4B5B
accent
#4860E0
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#070F0D
muted
#7A7F7E

Preview Lab

Preview with #227B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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