#227873#227873

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

Color values

HEX#227873
RGBrgb(34, 120, 115)
HSLhsl(177, 56%, 30%)
HSVhsv(177, 72%, 47%)
CMYKcmyk(71.7%, 0%, 4.2%, 52.9%)
CIE-LABlab(45.65, -26.04, -4.61)
CIE-LCHlch(45.65, 26.45, 190.03°)
OKLaboklab(52.18% -0.0785 -0.0129)
OKLCHoklch(52.18% 0.08 189.3)
XYZxyz(10.4692, 15.0096, 18.5617)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227873 #782227
analogous
#227848 #227873 #225278
triadic
#227873 #732278 #787322
tetradic
#227873 #482278 #782227 #527822
square
#227873 #482278 #782227 #527822
split-complementary
#227873 #782252 #784822
monochromatic
#071918 #144845 #227873 #30A8A1 #49CBC4

Accessibility & contrast

On white

5.25
#227873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#227873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227873
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227873#FFFFFF#000000##FFFFFF
##2278731.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717173
Deuteranopia (green-blind)
#646874
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227873;
/* rgb */ color: rgb(34, 120, 115);
/* oklch */ color: oklch(52.2% 0.080 189.3);
Tailwind
colors: {
  custom: {
    50: '#6b9f9b',
    500: '#227873',
    950: '#000000',
  },
}
SCSS
$custom: #227873;
$custom-light: #6b9f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#227873",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 115
  },
  "hsl": {
    "h": 176.512,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52181,
    "c": 0.07955,
    "h": 189.3
  },
  "luminance": 0.15011
}

Semantic roles & 50–950 ramp

primary
#227873
secondary
#AB4B50
accent
#4951DF
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #227873

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

Preview Lab → · Contrast checker → · Palette generator →

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