#628CCC#628CCC

#628CCC is a light, moderate blue. Relative luminance 0.257; OKLCH L 63.7% C 0.108 H 258.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#628CCC
RGBrgb(98, 140, 204)
HSLhsl(216, 51%, 59%)
HSVhsv(216, 52%, 80%)
CMYKcmyk(52%, 31.4%, 0%, 20%)
CIE-LABlab(57.76, 3.74, -37.47)
CIE-LCHlch(57.76, 37.66, 275.71°)
OKLaboklab(63.68% -0.0213 -0.1054)
OKLCHoklch(63.68% 0.108 258.6)
XYZxyz(25.3105, 25.7106, 60.7439)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CCC #CCA262
analogous
#62C1CC #628CCC #6D62CC
triadic
#628CCC #CC628C #8CCC62
tetradic
#628CCC #CC62C1 #CCA262 #62CC6D
square
#628CCC #CC62C1 #CCA262 #62CC6D
split-complementary
#628CCC #CC6D62 #C1CC62
monochromatic
#2C5088 #3B6CB6 #628CCC #90AEDB #BED0EA

Accessibility & contrast

On white

3.42
#628CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#628CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CCC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CCC#FFFFFF#000000##000000
##628CCC1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CF
Deuteranopia (green-blind)
#6686CB
Tritanopia (blue-blind)
#2C9AA3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #628ccc;
/* rgb */ color: rgb(98, 140, 204);
/* oklch */ color: oklch(63.7% 0.108 258.6);
Tailwind
colors: {
  custom: {
    50: '#95addc',
    500: '#628ccc',
    950: '#000000',
  },
}
SCSS
$custom: #628ccc;
$custom-light: #95addc;
$custom-dark: #000000;
JSON
{
  "hex": "#628ccc",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 204
  },
  "hsl": {
    "h": 216.226,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63675,
    "c": 0.10752,
    "h": 258.6
  },
  "luminance": 0.25712
}

Semantic roles & 50–950 ramp

primary
#628CCC
secondary
#DAC9B0
accent
#A34DDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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