#628A7E#628A7E

#628A7E is a mid, muted teal. Relative luminance 0.223; OKLCH L 60.0% C 0.048 H 174.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#628A7E
RGBrgb(98, 138, 126)
HSLhsl(162, 17%, 46%)
HSVhsv(162, 29%, 54%)
CMYKcmyk(29%, 0%, 8.7%, 45.9%)
CIE-LABlab(54.32, -16.56, 1.97)
CIE-LCHlch(54.32, 16.68, 173.20°)
OKLaboklab(60.01% -0.0478 0.005)
OKLCHoklch(60.01% 0.048 174.1)
XYZxyz(17.8902, 22.2791, 23.0923)
Luminance0.2228 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A7E #8A626E
analogous
#628A6A #628A7E #62828A
triadic
#628A7E #7E628A #8A7E62
tetradic
#628A7E #6A628A #8A626E #828A62
square
#628A7E #6A628A #8A626E #828A62
split-complementary
#628A7E #8A6282 #8A6A62
monochromatic
#2F423D #49665D #628A7E #83A79C #A6C0B8

Accessibility & contrast

On white

3.85
#628A7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#628A7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A7E
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A7E#FFFFFF#000000##000000
##628A7E1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87857D
Deuteranopia (green-blind)
#80807F
Tritanopia (blue-blind)
#588B86
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628a7e;
/* rgb */ color: rgb(98, 138, 126);
/* oklch */ color: oklch(60.0% 0.048 174.1);
Tailwind
colors: {
  custom: {
    50: '#90aca3',
    500: '#628a7e',
    950: '#000000',
  },
}
SCSS
$custom: #628a7e;
$custom-light: #90aca3;
$custom-dark: #000000;
JSON
{
  "hex": "#628a7e",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 126
  },
  "hsl": {
    "h": 162,
    "s": 16.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.60013,
    "c": 0.04808,
    "h": 174.1
  },
  "luminance": 0.2228
}

Semantic roles & 50–950 ramp

primary
#628A7E
secondary
#AF99A0
accent
#6E85BA
background
#F8FAFA
surface
#F0F4F3
border
#CBCECD
text
#0C100F
muted
#7D7F7F

Preview Lab

Preview with #628A7E

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

Preview Lab → · Contrast checker → · Palette generator →

#628A7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva