#227B87#227B87

#227B87 is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.8% C 0.082 H 208.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#227B87
RGBrgb(34, 123, 135)
HSLhsl(187, 60%, 33%)
HSVhsv(187, 75%, 53%)
CMYKcmyk(74.8%, 8.9%, 0%, 47.1%)
CIE-LABlab(47.31, -21.25, -14.00)
CIE-LCHlch(47.31, 25.44, 213.38°)
OKLaboklab(53.75% -0.0724 -0.0389)
OKLCHoklch(53.75% 0.082 208.2)
XYZxyz(12.1139, 16.2538, 25.4158)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B87 #872E22
analogous
#228760 #227B87 #224887
triadic
#227B87 #87227B #7B8722
tetradic
#227B87 #602287 #872E22 #488722
square
#227B87 #602287 #872E22 #488722
split-complementary
#227B87 #872248 #876022
monochromatic
#092225 #164E56 #227B87 #2EA8B8 #50C3D3

Accessibility & contrast

On white

4.94
#227B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#227B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B87
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B87#FFFFFF#000000##FFFFFF
##227B871.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707688
Deuteranopia (green-blind)
#626C87
Tritanopia (blue-blind)
#00817F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227b87;
/* rgb */ color: rgb(34, 123, 135);
/* oklch */ color: oklch(53.8% 0.082 208.2);
Tailwind
colors: {
  custom: {
    50: '#6ea1aa',
    500: '#227b87',
    950: '#000000',
  },
}
SCSS
$custom: #227b87;
$custom-light: #6ea1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#227b87",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 135
  },
  "hsl": {
    "h": 187.129,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5375,
    "c": 0.08224,
    "h": 208.2
  },
  "luminance": 0.16255
}

Semantic roles & 50–950 ramp

primary
#227B87
secondary
#B75B4E
accent
#5845E3
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #227B87

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

Preview Lab → · Contrast checker → · Palette generator →

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