#227E87#227E87

#227E87 is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.5% C 0.083 H 204.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#227E87
RGBrgb(34, 126, 135)
HSLhsl(185, 60%, 33%)
HSVhsv(185, 75%, 53%)
CMYKcmyk(74.8%, 6.7%, 0%, 47.1%)
CIE-LABlab(48.27, -22.82, -12.53)
CIE-LCHlch(48.27, 26.04, 208.77°)
OKLaboklab(54.53% -0.0756 -0.0348)
OKLCHoklch(54.53% 0.083 204.7)
XYZxyz(12.4918, 17.0096, 25.5418)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E87 #872B22
analogous
#22875E #227E87 #224B87
triadic
#227E87 #87227E #7E8722
tetradic
#227E87 #5E2287 #872B22 #4B8722
square
#227E87 #5E2287 #872B22 #4B8722
split-complementary
#227E87 #87224B #875E22
monochromatic
#092325 #165056 #227E87 #2EACB8 #50C7D3

Accessibility & contrast

On white

4.77
#227E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#227E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E87
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E87#FFFFFF#000000##FFFFFF
##227E871.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737988
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #227e87;
/* rgb */ color: rgb(34, 126, 135);
/* oklch */ color: oklch(54.5% 0.083 204.7);
Tailwind
colors: {
  custom: {
    50: '#6ea3aa',
    500: '#227e87',
    950: '#000000',
  },
}
SCSS
$custom: #227e87;
$custom-light: #6ea3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#227e87",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 135
  },
  "hsl": {
    "h": 185.347,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54531,
    "c": 0.08326,
    "h": 204.7
  },
  "luminance": 0.17011
}

Semantic roles & 50–950 ramp

primary
#227E87
secondary
#B7584E
accent
#5345E3
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227E87

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

Preview Lab → · Contrast checker → · Palette generator →

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