#227870#227870

#227870 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.1% C 0.080 H 186.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#227870
RGBrgb(34, 120, 112)
HSLhsl(174, 56%, 30%)
HSVhsv(174, 72%, 47%)
CMYKcmyk(71.7%, 0%, 6.7%, 52.9%)
CIE-LABlab(45.55, -26.94, -2.96)
CIE-LCHlch(45.55, 27.11, 186.26°)
OKLaboklab(52.07% -0.08 -0.0084)
OKLCHoklch(52.07% 0.08 186)
XYZxyz(10.2994, 14.9417, 17.6673)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227870 #78222A
analogous
#227845 #227870 #225578
triadic
#227870 #702278 #787022
tetradic
#227870 #452278 #78222A #557822
square
#227870 #452278 #78222A #557822
split-complementary
#227870 #782255 #784522
monochromatic
#071917 #144843 #227870 #30A89D #49CBBF

Accessibility & contrast

On white

5.27
#227870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#227870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227870
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227870#FFFFFF#000000##FFFFFF
##2278701.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727170
Deuteranopia (green-blind)
#656871
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227870;
/* rgb */ color: rgb(34, 120, 112);
/* oklch */ color: oklch(52.1% 0.080 186.0);
Tailwind
colors: {
  custom: {
    50: '#6b9f99',
    500: '#227870',
    950: '#000000',
  },
}
SCSS
$custom: #227870;
$custom-light: #6b9f99;
$custom-dark: #000000;
JSON
{
  "hex": "#227870",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 112
  },
  "hsl": {
    "h": 174.419,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52074,
    "c": 0.0804,
    "h": 186
  },
  "luminance": 0.14943
}

Semantic roles & 50–950 ramp

primary
#227870
secondary
#AB4B54
accent
#4957DF
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #227870

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

Preview Lab → · Contrast checker → · Palette generator →

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