#227B7D#227B7D

#227B7D is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.3% C 0.081 H 197.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#227B7D
RGBrgb(34, 123, 125)
HSLhsl(181, 57%, 31%)
HSVhsv(181, 73%, 49%)
CMYKcmyk(72.8%, 1.6%, 0%, 51%)
CIE-LABlab(46.96, -24.47, -8.60)
CIE-LCHlch(46.96, 25.94, 199.37°)
OKLaboklab(53.35% -0.077 -0.0239)
OKLCHoklch(53.35% 0.081 197.2)
XYZxyz(11.4427, 15.9853, 21.8805)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B7D #7D2422
analogous
#227D51 #227B7D #224D7D
triadic
#227B7D #7D227B #7B7D22
tetradic
#227B7D #51227D #7D2422 #4D7D22
square
#227B7D #51227D #7D2422 #4D7D22
split-complementary
#227B7D #7D224D #7D5122
monochromatic
#081C1D #154C4D #227B7D #2FAAAD #4BCBCE

Accessibility & contrast

On white

5.00
#227B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#227B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B7D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B7D#FFFFFF#000000##FFFFFF
##227B7D1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72757D
Deuteranopia (green-blind)
#656B7E
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227b7d;
/* rgb */ color: rgb(34, 123, 125);
/* oklch */ color: oklch(53.3% 0.081 197.2);
Tailwind
colors: {
  custom: {
    50: '#6da1a2',
    500: '#227b7d',
    950: '#000000',
  },
}
SCSS
$custom: #227b7d;
$custom-light: #6da1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#227b7d",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 125
  },
  "hsl": {
    "h": 181.319,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5335,
    "c": 0.08063,
    "h": 197.2
  },
  "luminance": 0.15987
}

Semantic roles & 50–950 ramp

primary
#227B7D
secondary
#B04D4B
accent
#4B47E0
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0F
muted
#7B7E7E

Preview Lab

Preview with #227B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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