#227A87#227A87

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

Color values

HEX#227A87
RGBrgb(34, 122, 135)
HSLhsl(188, 60%, 33%)
HSVhsv(188, 75%, 53%)
CMYKcmyk(74.8%, 9.6%, 0%, 47.1%)
CIE-LABlab(46.98, -20.71, -14.48)
CIE-LCHlch(46.98, 25.28, 214.96°)
OKLaboklab(53.49% -0.0714 -0.0403)
OKLCHoklch(53.49% 0.082 209.4)
XYZxyz(11.9905, 16.0070, 25.3747)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A87 #872F22
analogous
#228761 #227A87 #224787
triadic
#227A87 #87227A #7A8722
tetradic
#227A87 #612287 #872F22 #478722
square
#227A87 #612287 #872F22 #478722
split-complementary
#227A87 #872247 #876122
monochromatic
#092225 #164E56 #227A87 #2EA6B8 #50C2D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227A87#FFFFFF#000000##FFFFFF
##227A871.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)
#6F7588
Deuteranopia (green-blind)
#606B87
Tritanopia (blue-blind)
#00807E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227a87;
/* rgb */ color: rgb(34, 122, 135);
/* oklch */ color: oklch(53.5% 0.082 209.4);
Tailwind
colors: {
  custom: {
    50: '#6ea0aa',
    500: '#227a87',
    950: '#000000',
  },
}
SCSS
$custom: #227a87;
$custom-light: #6ea0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#227a87",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 135
  },
  "hsl": {
    "h": 187.723,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5349,
    "c": 0.08197,
    "h": 209.4
  },
  "luminance": 0.16008
}

Semantic roles & 50–950 ramp

primary
#227A87
secondary
#B75C4E
accent
#5945E3
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #227A87

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

Preview Lab → · Contrast checker → · Palette generator →

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