#227874#227874

#227874 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.2% C 0.079 H 190.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#227874
RGBrgb(34, 120, 116)
HSLhsl(177, 56%, 30%)
HSVhsv(177, 72%, 47%)
CMYKcmyk(71.7%, 0%, 3.3%, 52.9%)
CIE-LABlab(45.68, -25.74, -5.16)
CIE-LCHlch(45.68, 26.25, 191.33°)
OKLaboklab(52.22% -0.078 -0.0144)
OKLCHoklch(52.22% 0.079 190.5)
XYZxyz(10.5271, 15.0328, 18.8664)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227874 #782226
analogous
#227849 #227874 #225178
triadic
#227874 #742278 #787422
tetradic
#227874 #492278 #782226 #517822
square
#227874 #492278 #782226 #517822
split-complementary
#227874 #782251 #784922
monochromatic
#071918 #144846 #227874 #30A8A2 #49CBC5

Accessibility & contrast

On white

5.24
#227874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#227874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227874
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227874#FFFFFF#000000##FFFFFF
##2278741.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717274
Deuteranopia (green-blind)
#646875
Tritanopia (blue-blind)
#007B77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227874;
/* rgb */ color: rgb(34, 120, 116);
/* oklch */ color: oklch(52.2% 0.079 190.5);
Tailwind
colors: {
  custom: {
    50: '#6b9f9c',
    500: '#227874',
    950: '#000000',
  },
}
SCSS
$custom: #227874;
$custom-light: #6b9f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#227874",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 116
  },
  "hsl": {
    "h": 177.209,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52217,
    "c": 0.07934,
    "h": 190.5
  },
  "luminance": 0.15034
}

Semantic roles & 50–950 ramp

primary
#227874
secondary
#AB4B4F
accent
#4950DF
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #227874

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

Preview Lab → · Contrast checker → · Palette generator →

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