#628AF5#628AF5

#628AF5 is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.6% C 0.165 H 266.5°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#628AF5
RGBrgb(98, 138, 245)
HSLhsl(224, 88%, 67%)
HSVhsv(224, 60%, 96%)
CMYKcmyk(60%, 43.7%, 0%, 3.9%)
CIE-LABlab(59.31, 18.08, -57.88)
CIE-LCHlch(59.31, 60.64, 287.35°)
OKLaboklab(65.55% -0.0101 -0.165)
OKLCHoklch(65.55% 0.165 266.5)
XYZxyz(30.6013, 27.3636, 90.0376)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AF5 #F5CD62
analogous
#62D4F5 #628AF5 #8362F5
triadic
#628AF5 #F5628A #8AF562
tetradic
#628AF5 #F562D4 #F5CD62 #62F583
square
#628AF5 #F562D4 #F5CD62 #62F583
split-complementary
#628AF5 #F58362 #D4F562
monochromatic
#0D42CF #285FF1 #628AF5 #9CB5F9 #D5E0FC

Accessibility & contrast

On white

3.24
#628AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#628AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AF5
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AF5#FFFFFF#000000##000000
##628AF51.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996F9
Deuteranopia (green-blind)
#4389F3
Tritanopia (blue-blind)
#00A2B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628af5;
/* rgb */ color: rgb(98, 138, 245);
/* oklch */ color: oklch(65.6% 0.165 266.5);
Tailwind
colors: {
  custom: {
    50: '#9aabf9',
    500: '#628af5',
    950: '#000000',
  },
}
SCSS
$custom: #628af5;
$custom-light: #9aabf9;
$custom-dark: #000000;
JSON
{
  "hex": "#628af5",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 245
  },
  "hsl": {
    "h": 223.673,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65554,
    "c": 0.16536,
    "h": 266.5
  },
  "luminance": 0.27366
}

Semantic roles & 50–950 ramp

primary
#628AF5
secondary
#F1E4C2
accent
#A701E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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