#227C87#227C87

#227C87 is a mid, moderate teal. Relative luminance 0.165; OKLCH L 54.0% C 0.083 H 207.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#227C87
RGBrgb(34, 124, 135)
HSLhsl(187, 60%, 33%)
HSVhsv(187, 75%, 53%)
CMYKcmyk(74.8%, 8.1%, 0%, 47.1%)
CIE-LABlab(47.63, -21.77, -13.51)
CIE-LCHlch(47.63, 25.62, 211.81°)
OKLaboklab(54.01% -0.0735 -0.0375)
OKLCHoklch(54.01% 0.083 207.1)
XYZxyz(12.2386, 16.5032, 25.4574)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C87 #872D22
analogous
#22875F #227C87 #224987
triadic
#227C87 #87227C #7C8722
tetradic
#227C87 #5F2287 #872D22 #498722
square
#227C87 #5F2287 #872D22 #498722
split-complementary
#227C87 #872249 #875F22
monochromatic
#092225 #164F56 #227C87 #2EA9B8 #50C5D3

Accessibility & contrast

On white

4.88
#227C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#227C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C87
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C87#FFFFFF#000000##FFFFFF
##227C871.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717788
Deuteranopia (green-blind)
#636D87
Tritanopia (blue-blind)
#00827F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227c87;
/* rgb */ color: rgb(34, 124, 135);
/* oklch */ color: oklch(54.0% 0.083 207.1);
Tailwind
colors: {
  custom: {
    50: '#6ea2aa',
    500: '#227c87',
    950: '#000000',
  },
}
SCSS
$custom: #227c87;
$custom-light: #6ea2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#227c87",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 135
  },
  "hsl": {
    "h": 186.535,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5401,
    "c": 0.08255,
    "h": 207.1
  },
  "luminance": 0.16505
}

Semantic roles & 50–950 ramp

primary
#227C87
secondary
#B75A4E
accent
#5645E3
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #227C87

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

Preview Lab → · Contrast checker → · Palette generator →

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