#227D8D#227D8D

#227D8D is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.5% C 0.085 H 212.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#227D8D
RGBrgb(34, 125, 141)
HSLhsl(189, 61%, 34%)
HSVhsv(189, 76%, 55%)
CMYKcmyk(75.9%, 11.3%, 0%, 44.7%)
CIE-LABlab(48.17, -20.32, -16.22)
CIE-LCHlch(48.17, 26.00, 218.61°)
OKLaboklab(54.52% -0.0719 -0.0452)
OKLCHoklch(54.52% 0.085 212.1)
XYZxyz(12.7990, 16.9289, 27.7872)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D8D #8D3222
analogous
#228D68 #227D8D #22488D
triadic
#227D8D #8D227D #7D8D22
tetradic
#227D8D #68228D #8D3222 #488D22
square
#227D8D #68228D #8D3222 #488D22
split-complementary
#227D8D #8D2248 #8D6822
monochromatic
#0A262A #16515C #227D8D #2EA9BE #54C2D6

Accessibility & contrast

On white

4.79
#227D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#227D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D8D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D8D#FFFFFF#000000##FFFFFF
##227D8D1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71798E
Deuteranopia (green-blind)
#626E8D
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227d8d;
/* rgb */ color: rgb(34, 125, 141);
/* oklch */ color: oklch(54.5% 0.085 212.1);
Tailwind
colors: {
  custom: {
    50: '#6fa3ae',
    500: '#227d8d',
    950: '#000000',
  },
}
SCSS
$custom: #227d8d;
$custom-light: #6fa3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#227d8d",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 141
  },
  "hsl": {
    "h": 188.972,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54521,
    "c": 0.08494,
    "h": 212.1
  },
  "luminance": 0.1693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #227D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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