#227888#227888

#227888 is a mid, moderate teal. Relative luminance 0.156; OKLCH L 53.0% C 0.082 H 212.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#227888
RGBrgb(34, 120, 136)
HSLhsl(189, 60%, 33%)
HSVhsv(189, 75%, 53%)
CMYKcmyk(75%, 11.8%, 0%, 46.7%)
CIE-LABlab(46.38, -19.31, -16.00)
CIE-LCHlch(46.38, 25.08, 219.65°)
OKLaboklab(53.01% -0.0688 -0.0446)
OKLCHoklch(53.01% 0.082 212.9)
XYZxyz(11.8182, 15.5492, 25.6662)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227888 #883222
analogous
#228865 #227888 #224588
triadic
#227888 #882278 #788822
tetradic
#227888 #652288 #883222 #458822
square
#227888 #652288 #883222 #458822
split-complementary
#227888 #882245 #886522
monochromatic
#0A2226 #164D57 #227888 #2EA3B9 #51BFD3

Accessibility & contrast

On white

5.11
#227888 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#227888 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227888
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227888#FFFFFF#000000##FFFFFF
##2278881.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7489
Deuteranopia (green-blind)
#5E6988
Tritanopia (blue-blind)
#007E7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227888;
/* rgb */ color: rgb(34, 120, 136);
/* oklch */ color: oklch(53.0% 0.082 212.9);
Tailwind
colors: {
  custom: {
    50: '#6e9faa',
    500: '#227888',
    950: '#000000',
  },
}
SCSS
$custom: #227888;
$custom-light: #6e9faa;
$custom-dark: #000000;
JSON
{
  "hex": "#227888",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 136
  },
  "hsl": {
    "h": 189.412,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53014,
    "c": 0.08201,
    "h": 212.9
  },
  "luminance": 0.15551
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #227888

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

Preview Lab → · Contrast checker → · Palette generator →

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