#628BA7#628BA7

#628BA7 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.7% C 0.062 H 238.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#628BA7
RGBrgb(98, 139, 167)
HSLhsl(204, 28%, 52%)
HSVhsv(204, 41%, 65%)
CMYKcmyk(41.3%, 16.8%, 0%, 34.5%)
CIE-LABlab(55.94, -6.65, -19.25)
CIE-LCHlch(55.94, 20.37, 250.95°)
OKLaboklab(61.73% -0.0321 -0.0532)
OKLCHoklch(61.73% 0.062 238.9)
XYZxyz(21.2423, 23.8506, 40.0360)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BA7 #A77E62
analogous
#62A7A1 #628BA7 #6269A7
triadic
#628BA7 #A7628B #8BA762
tetradic
#628BA7 #A162A7 #A77E62 #69A762
square
#628BA7 #A162A7 #A77E62 #69A762
split-complementary
#628BA7 #A76269 #A7A162
monochromatic
#334B5B #496B83 #628BA7 #89A8BD #B0C5D3

Accessibility & contrast

On white

3.64
#628BA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#628BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BA7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BA7#FFFFFF#000000##000000
##628BA71.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8AA8
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#489294
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #628ba7;
/* rgb */ color: rgb(98, 139, 167);
/* oklch */ color: oklch(61.7% 0.062 238.9);
Tailwind
colors: {
  custom: {
    50: '#91acc1',
    500: '#628ba7',
    950: '#000000',
  },
}
SCSS
$custom: #628ba7;
$custom-light: #91acc1;
$custom-dark: #000000;
JSON
{
  "hex": "#628ba7",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 167
  },
  "hsl": {
    "h": 204.348,
    "s": 28.163,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61735,
    "c": 0.06211,
    "h": 238.9
  },
  "luminance": 0.23852
}

Semantic roles & 50–950 ramp

primary
#628BA7
secondary
#C2B0A3
accent
#8B63C4
background
#F9FAFB
surface
#F1F4F7
border
#CBCED0
text
#0D1012
muted
#7E7F81

Preview Lab

Preview with #628BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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