#227787#227787

#227787 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.7% C 0.081 H 213.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#227787
RGBrgb(34, 119, 135)
HSLhsl(190, 60%, 33%)
HSVhsv(190, 75%, 53%)
CMYKcmyk(74.8%, 11.9%, 0%, 47.1%)
CIE-LABlab(46.02, -19.10, -15.95)
CIE-LCHlch(46.02, 24.89, 219.87°)
OKLaboklab(52.71% -0.0682 -0.0444)
OKLCHoklch(52.71% 0.081 213.1)
XYZxyz(11.6278, 15.2816, 25.2538)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227787 #873222
analogous
#228764 #227787 #224487
triadic
#227787 #872277 #778722
tetradic
#227787 #642287 #873222 #448722
square
#227787 #642287 #873222 #448722
split-complementary
#227787 #872244 #876422
monochromatic
#092125 #164C56 #227787 #2EA2B8 #50BED3

Accessibility & contrast

On white

5.18
#227787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#227787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227787
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227787#FFFFFF#000000##FFFFFF
##2277871.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#5D6987
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227787;
/* rgb */ color: rgb(34, 119, 135);
/* oklch */ color: oklch(52.7% 0.081 213.1);
Tailwind
colors: {
  custom: {
    50: '#6d9eaa',
    500: '#227787',
    950: '#000000',
  },
}
SCSS
$custom: #227787;
$custom-light: #6d9eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#227787",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 135
  },
  "hsl": {
    "h": 189.505,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52711,
    "c": 0.08141,
    "h": 213.1
  },
  "luminance": 0.15283
}

Semantic roles & 50–950 ramp

primary
#227787
secondary
#B75F4E
accent
#5E45E3
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #227787

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

Preview Lab → · Contrast checker → · Palette generator →

#227787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva