#628BFD#628BFD

#628BFD is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.2% C 0.175 H 266.8°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#628BFD
RGBrgb(98, 139, 253)
HSLhsl(224, 97%, 69%)
HSVhsv(224, 61%, 99%)
CMYKcmyk(61.3%, 45.1%, 0%, 0.8%)
CIE-LABlab(60.02, 20.12, -61.14)
CIE-LCHlch(60.02, 64.36, 288.21°)
OKLaboklab(66.25% -0.0099 -0.1746)
OKLCHoklch(66.25% 0.175 266.8)
XYZxyz(31.9932, 28.1510, 96.6571)
Luminance0.2815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BFD #FDD462
analogous
#62D9FD #628BFD #8762FD
triadic
#628BFD #FD628B #8BFD62
tetradic
#628BFD #FD62D9 #FDD462 #62FD87
square
#628BFD #FD62D9 #FDD462 #62FD87
split-complementary
#628BFD #FD8762 #D9FD62
monochromatic
#033EE2 #265EFC #628BFD #9EB8FE #DBE4FF

Accessibility & contrast

On white

3.17
#628BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#628BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BFD
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BFD#FFFFFF#000000##000000
##628BFD1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#3B8AFB
Tritanopia (blue-blind)
#00A5B8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628bfd;
/* rgb */ color: rgb(98, 139, 253);
/* oklch */ color: oklch(66.2% 0.175 266.8);
Tailwind
colors: {
  custom: {
    50: '#9bacff',
    500: '#628bfd',
    950: '#000000',
  },
}
SCSS
$custom: #628bfd;
$custom-light: #9bacff;
$custom-dark: #000000;
JSON
{
  "hex": "#628bfd",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 253
  },
  "hsl": {
    "h": 224.129,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66249,
    "c": 0.17489,
    "h": 266.8
  },
  "luminance": 0.28154
}

Semantic roles & 50–950 ramp

primary
#628BFD
secondary
#F4E8C6
accent
#A900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #628BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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