#628798#628798

#628798 is a mid, muted cyan. Relative luminance 0.222; OKLCH L 60.2% C 0.049 H 228.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#628798
RGBrgb(98, 135, 152)
HSLhsl(199, 22%, 49%)
HSVhsv(199, 36%, 60%)
CMYKcmyk(35.5%, 11.2%, 0%, 40.4%)
CIE-LABlab(54.23, -8.49, -13.21)
CIE-LCHlch(54.23, 15.70, 237.27°)
OKLaboklab(60.2% -0.0326 -0.0362)
OKLCHoklch(60.2% 0.049 228.1)
XYZxyz(19.3666, 22.1906, 32.9624)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628798 #987362
analogous
#62988E #628798 #626C98
triadic
#628798 #986287 #879862
tetradic
#628798 #8E6298 #987362 #6C9862
square
#628798 #8E6298 #987362 #6C9862
split-complementary
#628798 #98626C #988E62
monochromatic
#32454E #4A6673 #628798 #86A4B1 #ABC0C9

Accessibility & contrast

On white

3.86
#628798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#628798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628798
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628798#FFFFFF#000000##000000
##6287981.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8599
Deuteranopia (green-blind)
#767F98
Tritanopia (blue-blind)
#4F8C8C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628798;
/* rgb */ color: rgb(98, 135, 152);
/* oklch */ color: oklch(60.2% 0.049 228.1);
Tailwind
colors: {
  custom: {
    50: '#90aab6',
    500: '#628798',
    950: '#000000',
  },
}
SCSS
$custom: #628798;
$custom-light: #90aab6;
$custom-dark: #000000;
JSON
{
  "hex": "#628798",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 152
  },
  "hsl": {
    "h": 198.889,
    "s": 21.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.60204,
    "c": 0.04871,
    "h": 228.1
  },
  "luminance": 0.22192
}

Semantic roles & 50–950 ramp

primary
#628798
secondary
#B8A69E
accent
#846ABE
background
#F9FAFB
surface
#F1F4F6
border
#CBCED0
text
#0D1011
muted
#7E7F80

Preview Lab

Preview with #628798

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

Preview Lab → · Contrast checker → · Palette generator →

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