#628CD8#628CD8

#628CD8 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.3% C 0.124 H 261.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#628CD8
RGBrgb(98, 140, 216)
HSLhsl(219, 60%, 62%)
HSVhsv(219, 55%, 85%)
CMYKcmyk(54.6%, 35.2%, 0%, 15.3%)
CIE-LABlab(58.33, 7.51, -43.32)
CIE-LCHlch(58.33, 43.96, 279.84°)
OKLaboklab(64.3% -0.0182 -0.1224)
OKLCHoklch(64.3% 0.124 261.6)
XYZxyz(26.8055, 26.3086, 68.6179)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CD8 #D8AE62
analogous
#62C7D8 #628CD8 #7362D8
triadic
#628CD8 #D8628C #8CD862
tetradic
#628CD8 #D862C7 #D8AE62 #62D873
square
#628CD8 #D862C7 #D8AE62 #62D873
split-complementary
#628CD8 #D87362 #C7D862
monochromatic
#264F99 #3268CA #628CD8 #93B0E4 #C4D4F0

Accessibility & contrast

On white

3.35
#628CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#628CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CD8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CD8#FFFFFF#000000##000000
##628CD81.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D92DB
Deuteranopia (green-blind)
#5F87D6
Tritanopia (blue-blind)
#1A9DA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #628cd8;
/* rgb */ color: rgb(98, 140, 216);
/* oklch */ color: oklch(64.3% 0.124 261.6);
Tailwind
colors: {
  custom: {
    50: '#96ade4',
    500: '#628cd8',
    950: '#000000',
  },
}
SCSS
$custom: #628cd8;
$custom-light: #96ade4;
$custom-dark: #000000;
JSON
{
  "hex": "#628cd8",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 218.644,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64303,
    "c": 0.12374,
    "h": 261.6
  },
  "luminance": 0.26311
}

Semantic roles & 50–950 ramp

primary
#628CD8
secondary
#E1D1B5
accent
#8B1EC8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1015
muted
#7E7F84

Preview Lab

Preview with #628CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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