#227868#227868

#227868 is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.8% C 0.084 H 177.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#227868
RGBrgb(34, 120, 104)
HSLhsl(169, 56%, 30%)
HSVhsv(169, 72%, 47%)
CMYKcmyk(71.7%, 0%, 13.3%, 52.9%)
CIE-LABlab(45.32, -29.26, 1.46)
CIE-LCHlch(45.32, 29.30, 177.14°)
OKLaboklab(51.81% -0.0839 0.0034)
OKLCHoklch(51.81% 0.084 177.7)
XYZxyz(9.8736, 14.7714, 15.4248)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227868 #782232
analogous
#22783D #227868 #225D78
triadic
#227868 #682278 #786822
tetradic
#227868 #3D2278 #782232 #5D7822
square
#227868 #3D2278 #782232 #5D7822
split-complementary
#227868 #78225D #783D22
monochromatic
#071915 #14483F #227868 #30A891 #49CBB3

Accessibility & contrast

On white

5.31
#227868 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#227868 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227868
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227868#FFFFFF#000000##FFFFFF
##2278681.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737067
Deuteranopia (green-blind)
#676869
Tritanopia (blue-blind)
#007A73
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227868;
/* rgb */ color: rgb(34, 120, 104);
/* oklch */ color: oklch(51.8% 0.084 177.7);
Tailwind
colors: {
  custom: {
    50: '#6a9f93',
    500: '#227868',
    950: '#000000',
  },
}
SCSS
$custom: #227868;
$custom-light: #6a9f93;
$custom-dark: #000000;
JSON
{
  "hex": "#227868",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 104
  },
  "hsl": {
    "h": 168.837,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51805,
    "c": 0.08401,
    "h": 177.7
  },
  "luminance": 0.14772
}

Semantic roles & 50–950 ramp

primary
#227868
secondary
#AB4B5D
accent
#4965DF
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #227868

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

Preview Lab → · Contrast checker → · Palette generator →

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