#628EC7#628EC7

#628EC7 is a light, moderate cyan. Relative luminance 0.261; OKLCH L 63.9% C 0.099 H 255.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#628EC7
RGBrgb(98, 142, 199)
HSLhsl(214, 47%, 58%)
HSVhsv(214, 51%, 78%)
CMYKcmyk(50.8%, 28.6%, 0%, 22%)
CIE-LABlab(58.10, 1.04, -34.12)
CIE-LCHlch(58.10, 34.14, 271.74°)
OKLaboklab(63.86% -0.0251 -0.0957)
OKLCHoklch(63.86% 0.099 255.3)
XYZxyz(25.0153, 26.0644, 57.7345)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EC7 #C79B62
analogous
#62C1C7 #628EC7 #6862C7
triadic
#628EC7 #C7628E #8EC762
tetradic
#628EC7 #C762C1 #C79B62 #62C768
square
#628EC7 #C762C1 #C79B62 #62C768
split-complementary
#628EC7 #C76862 #C1C762
monochromatic
#2E5281 #3E6FAE #628EC7 #8FAED7 #BCCFE7

Accessibility & contrast

On white

3.38
#628EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#628EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EC7
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EC7#FFFFFF#000000##000000
##628EC71.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7891C9
Deuteranopia (green-blind)
#6B87C6
Tritanopia (blue-blind)
#319BA2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #628ec7;
/* rgb */ color: rgb(98, 142, 199);
/* oklch */ color: oklch(63.9% 0.099 255.3);
Tailwind
colors: {
  custom: {
    50: '#94aed8',
    500: '#628ec7',
    950: '#000000',
  },
}
SCSS
$custom: #628ec7;
$custom-light: #94aed8;
$custom-dark: #000000;
JSON
{
  "hex": "#628ec7",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 199
  },
  "hsl": {
    "h": 213.861,
    "s": 47.418,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63864,
    "c": 0.09893,
    "h": 255.3
  },
  "luminance": 0.26066
}

Semantic roles & 50–950 ramp

primary
#628EC7
secondary
#D7C5AE
accent
#9D51D7
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E1014
muted
#7E7F83

Preview Lab

Preview with #628EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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