#628EF5#628EF5

#628EF5 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.4% C 0.161 H 264.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#628EF5
RGBrgb(98, 142, 245)
HSLhsl(222, 88%, 67%)
HSVhsv(222, 60%, 96%)
CMYKcmyk(60%, 42%, 0%, 3.9%)
CIE-LABlab(60.37, 15.69, -56.19)
CIE-LCHlch(60.37, 58.34, 285.60°)
OKLaboklab(66.37% -0.0142 -0.16)
OKLCHoklch(66.37% 0.161 264.9)
XYZxyz(31.1858, 28.5326, 90.2324)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EF5 #F5C962
analogous
#62D7F5 #628EF5 #8062F5
triadic
#628EF5 #F5628E #8EF562
tetradic
#628EF5 #F562D7 #F5C962 #62F580
square
#628EF5 #F562D7 #F5C962 #62F580
split-complementary
#628EF5 #F58062 #D7F562
monochromatic
#0D47CF #2865F1 #628EF5 #9CB7F9 #D5E1FC

Accessibility & contrast

On white

3.13
#628EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#628EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EF5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EF5#FFFFFF#000000##000000
##628EF51.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099F9
Deuteranopia (green-blind)
#4B8BF3
Tritanopia (blue-blind)
#00A5B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #628ef5;
/* rgb */ color: rgb(98, 142, 245);
/* oklch */ color: oklch(66.4% 0.161 264.9);
Tailwind
colors: {
  custom: {
    50: '#9aaef9',
    500: '#628ef5',
    950: '#000000',
  },
}
SCSS
$custom: #628ef5;
$custom-light: #9aaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#628ef5",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 222.041,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66367,
    "c": 0.16068,
    "h": 264.9
  },
  "luminance": 0.28535
}

Semantic roles & 50–950 ramp

primary
#628EF5
secondary
#F1E3C2
accent
#A001E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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