#228798#228798

#228798 is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.6% C 0.091 H 211.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#228798
RGBrgb(34, 135, 152)
HSLhsl(189, 63%, 36%)
HSVhsv(189, 78%, 60%)
CMYKcmyk(77.6%, 11.2%, 0%, 40.4%)
CIE-LABlab(51.76, -21.94, -17.18)
CIE-LCHlch(51.76, 27.87, 218.06°)
OKLaboklab(57.55% -0.0775 -0.0479)
OKLCHoklch(57.55% 0.091 211.7)
XYZxyz(14.9887, 19.9332, 32.7572)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228798 #983322
analogous
#22986E #228798 #224C98
triadic
#228798 #982287 #879822
tetradic
#228798 #6E2298 #983322 #4C9822
square
#228798 #6E2298 #983322 #4C9822
split-complementary
#228798 #98224C #986E22
monochromatic
#0C2E34 #175B66 #228798 #2DB3CA #5AC8DA

Accessibility & contrast

On white

4.21
#228798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#228798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228798
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228798#FFFFFF#000000##000000
##2287981.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8299
Deuteranopia (green-blind)
#6A7698
Tritanopia (blue-blind)
#008E8C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228798;
/* rgb */ color: rgb(34, 135, 152);
/* oklch */ color: oklch(57.6% 0.091 211.7);
Tailwind
colors: {
  custom: {
    50: '#71aab6',
    500: '#228798',
    950: '#000000',
  },
}
SCSS
$custom: #228798;
$custom-light: #71aab6;
$custom-dark: #000000;
JSON
{
  "hex": "#228798",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 152
  },
  "hsl": {
    "h": 188.644,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.09111,
    "h": 211.7
  },
  "luminance": 0.19935
}

Semantic roles & 50–950 ramp

primary
#228798
secondary
#BE6657
accent
#5941E6
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #228798

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

Preview Lab → · Contrast checker → · Palette generator →

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