#628CCE#628CCE

#628CCE is a light, moderate blue. Relative luminance 0.258; OKLCH L 63.8% C 0.110 H 259.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#628CCE
RGBrgb(98, 140, 206)
HSLhsl(217, 52%, 60%)
HSVhsv(217, 52%, 81%)
CMYKcmyk(52.4%, 32%, 0%, 19.2%)
CIE-LABlab(57.85, 4.37, -38.45)
CIE-LCHlch(57.85, 38.70, 276.48°)
OKLaboklab(63.78% -0.0207 -0.1082)
OKLCHoklch(63.78% 0.11 259.1)
XYZxyz(25.5519, 25.8072, 62.0154)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CCE #CEA462
analogous
#62C2CE #628CCE #6E62CE
triadic
#628CCE #CE628C #8CCE62
tetradic
#628CCE #CE62C2 #CEA462 #62CE6E
square
#628CCE #CE62C2 #CEA462 #62CE6E
split-complementary
#628CCE #CE6E62 #C2CE62
monochromatic
#2B508A #3A6BB9 #628CCE #91AEDD #BFD0EB

Accessibility & contrast

On white

3.41
#628CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#628CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CCE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CCE#FFFFFF#000000##000000
##628CCE1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7291D1
Deuteranopia (green-blind)
#6586CD
Tritanopia (blue-blind)
#2A9BA4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #628cce;
/* rgb */ color: rgb(98, 140, 206);
/* oklch */ color: oklch(63.8% 0.110 259.1);
Tailwind
colors: {
  custom: {
    50: '#95addd',
    500: '#628cce',
    950: '#000000',
  },
}
SCSS
$custom: #628cce;
$custom-light: #95addd;
$custom-dark: #000000;
JSON
{
  "hex": "#628cce",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 206
  },
  "hsl": {
    "h": 216.667,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63777,
    "c": 0.11021,
    "h": 259.1
  },
  "luminance": 0.25809
}

Semantic roles & 50–950 ramp

primary
#628CCE
secondary
#DBCBB1
accent
#A44CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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