#628DDC#628DDC

#628DDC is a light, vivid blue. Relative luminance 0.268; OKLCH L 64.7% C 0.128 H 261.8°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#628DDC
RGBrgb(98, 141, 220)
HSLhsl(219, 64%, 62%)
HSVhsv(219, 55%, 86%)
CMYKcmyk(55.5%, 35.9%, 0%, 13.7%)
CIE-LABlab(58.80, 8.19, -44.81)
CIE-LCHlch(58.80, 45.55, 280.36°)
OKLaboklab(64.73% -0.0183 -0.1267)
OKLCHoklch(64.73% 0.128 261.8)
XYZxyz(27.4757, 26.8116, 71.4235)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628DDC #DCB162
analogous
#62CADC #628DDC #7462DC
triadic
#628DDC #DC628D #8DDC62
tetradic
#628DDC #DC62CA #DCB162 #62DC74
square
#628DDC #DC62CA #DCB162 #62DC74
split-complementary
#628DDC #DC7462 #CADC62
monochromatic
#244FA0 #3069D1 #628DDC #94B1E7 #C6D6F2

Accessibility & contrast

On white

3.30
#628DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#628DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628DDC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628DDC#FFFFFF#000000##000000
##628DDC1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D94DF
Deuteranopia (green-blind)
#5E88DA
Tritanopia (blue-blind)
#0F9EAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #628ddc;
/* rgb */ color: rgb(98, 141, 220);
/* oklch */ color: oklch(64.7% 0.128 261.8);
Tailwind
colors: {
  custom: {
    50: '#97aee7',
    500: '#628ddc',
    950: '#000000',
  },
}
SCSS
$custom: #628ddc;
$custom-light: #97aee7;
$custom-dark: #000000;
JSON
{
  "hex": "#628ddc",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 220
  },
  "hsl": {
    "h": 218.852,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64733,
    "c": 0.12807,
    "h": 261.8
  },
  "luminance": 0.26814
}

Semantic roles & 50–950 ramp

primary
#628DDC
secondary
#E3D3B7
accent
#8D1ACB
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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