#628EFD#628EFD

#628EFD is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.8% C 0.171 H 265.7°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#628EFD
RGBrgb(98, 142, 253)
HSLhsl(223, 97%, 69%)
HSVhsv(223, 61%, 99%)
CMYKcmyk(61.3%, 43.9%, 0%, 0.8%)
CIE-LABlab(60.81, 18.32, -59.88)
CIE-LCHlch(60.81, 62.62, 287.01°)
OKLaboklab(66.85% -0.0128 -0.1709)
OKLCHoklch(66.85% 0.171 265.7)
XYZxyz(32.4335, 29.0317, 96.8039)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EFD #FDD162
analogous
#62DBFD #628EFD #8462FD
triadic
#628EFD #FD628E #8EFD62
tetradic
#628EFD #FD62DB #FDD162 #62FD84
square
#628EFD #FD62DB #FDD162 #62FD84
split-complementary
#628EFD #FD8462 #DBFD62
monochromatic
#0342E2 #2663FC #628EFD #9EB9FE #DBE5FF

Accessibility & contrast

On white

3.09
#628EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#628EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EFD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EFD#FFFFFF#000000##000000
##628EFD1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#428CFB
Tritanopia (blue-blind)
#00A7B9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #628efd;
/* rgb */ color: rgb(98, 142, 253);
/* oklch */ color: oklch(66.8% 0.171 265.7);
Tailwind
colors: {
  custom: {
    50: '#9baeff',
    500: '#628efd',
    950: '#000000',
  },
}
SCSS
$custom: #628efd;
$custom-light: #9baeff;
$custom-dark: #000000;
JSON
{
  "hex": "#628efd",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 222.968,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6685,
    "c": 0.17136,
    "h": 265.7
  },
  "luminance": 0.29035
}

Semantic roles & 50–950 ramp

primary
#628EFD
secondary
#F4E7C6
accent
#A400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #628EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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