#628DCC#628DCC

#628DCC is a light, moderate blue. Relative luminance 0.260; OKLCH L 63.9% C 0.107 H 257.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#628DCC
RGBrgb(98, 141, 204)
HSLhsl(216, 51%, 59%)
HSVhsv(216, 52%, 80%)
CMYKcmyk(52%, 30.9%, 0%, 20%)
CIE-LABlab(58.04, 3.16, -37.03)
CIE-LCHlch(58.04, 37.16, 274.87°)
OKLaboklab(63.89% -0.0225 -0.1041)
OKLCHoklch(63.89% 0.107 257.8)
XYZxyz(25.4572, 26.0042, 60.7928)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628DCC #CCA162
analogous
#62C2CC #628DCC #6C62CC
triadic
#628DCC #CC628D #8DCC62
tetradic
#628DCC #CC62C2 #CCA162 #62CC6C
square
#628DCC #CC62C2 #CCA162 #62CC6C
split-complementary
#628DCC #CC6C62 #C2CC62
monochromatic
#2C5188 #3B6DB6 #628DCC #90AFDB #BED0EA

Accessibility & contrast

On white

3.39
#628DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#628DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628DCC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628DCC#FFFFFF#000000##000000
##628DCC1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491CF
Deuteranopia (green-blind)
#6787CB
Tritanopia (blue-blind)
#2C9BA3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #628dcc;
/* rgb */ color: rgb(98, 141, 204);
/* oklch */ color: oklch(63.9% 0.107 257.8);
Tailwind
colors: {
  custom: {
    50: '#95aedc',
    500: '#628dcc',
    950: '#000000',
  },
}
SCSS
$custom: #628dcc;
$custom-light: #95aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#628dcc",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 204
  },
  "hsl": {
    "h": 215.66,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63893,
    "c": 0.10652,
    "h": 257.8
  },
  "luminance": 0.26006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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