#628CA7#628CA7

#628CA7 is a mid, moderate cyan. Relative luminance 0.241; OKLCH L 62.0% C 0.062 H 237.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#628CA7
RGBrgb(98, 140, 167)
HSLhsl(203, 28%, 52%)
HSVhsv(203, 41%, 65%)
CMYKcmyk(41.3%, 16.2%, 0%, 34.5%)
CIE-LABlab(56.23, -7.21, -18.81)
CIE-LCHlch(56.23, 20.14, 249.02°)
OKLaboklab(61.97% -0.0334 -0.0519)
OKLCHoklch(61.97% 0.062 237.3)
XYZxyz(21.3878, 24.1415, 40.0845)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CA7 #A77D62
analogous
#62A79F #628CA7 #626AA7
triadic
#628CA7 #A7628C #8CA762
tetradic
#628CA7 #9F62A7 #A77D62 #6AA762
square
#628CA7 #9F62A7 #A77D62 #6AA762
split-complementary
#628CA7 #A7626A #A79F62
monochromatic
#334C5B #496C83 #628CA7 #89A9BD #B0C5D3

Accessibility & contrast

On white

3.60
#628CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#628CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CA7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CA7#FFFFFF#000000##000000
##628CA71.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#808BA8
Deuteranopia (green-blind)
#7684A7
Tritanopia (blue-blind)
#489395
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #628ca7;
/* rgb */ color: rgb(98, 140, 167);
/* oklch */ color: oklch(62.0% 0.062 237.3);
Tailwind
colors: {
  custom: {
    50: '#91adc1',
    500: '#628ca7',
    950: '#000000',
  },
}
SCSS
$custom: #628ca7;
$custom-light: #91adc1;
$custom-dark: #000000;
JSON
{
  "hex": "#628ca7",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 167
  },
  "hsl": {
    "h": 203.478,
    "s": 28.163,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61966,
    "c": 0.06174,
    "h": 237.3
  },
  "luminance": 0.24143
}

Semantic roles & 50–950 ramp

primary
#628CA7
secondary
#C2AFA3
accent
#8963C4
background
#F9FAFB
surface
#F1F4F7
border
#CBCED0
text
#0D1012
muted
#7E7F81

Preview Lab

Preview with #628CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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