#628AF8#628AF8

#628AF8 is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.7% C 0.169 H 266.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#628AF8
RGBrgb(98, 138, 248)
HSLhsl(224, 91%, 68%)
HSVhsv(224, 60%, 97%)
CMYKcmyk(60.5%, 44.4%, 0%, 2.7%)
CIE-LABlab(59.48, 19.07, -59.26)
CIE-LCHlch(59.48, 62.26, 287.84°)
OKLaboklab(65.74% -0.0097 -0.1691)
OKLCHoklch(65.74% 0.169 266.7)
XYZxyz(31.0630, 27.5483, 92.4691)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AF8 #F8D062
analogous
#62D5F8 #628AF8 #8562F8
triadic
#628AF8 #F8628A #8AF862
tetradic
#628AF8 #F862D5 #F8D062 #62F885
square
#628AF8 #F862D5 #F8D062 #62F885
split-complementary
#628AF8 #F88562 #D5F862
monochromatic
#0A40D6 #275EF5 #628AF8 #9DB6FB #D7E1FD

Accessibility & contrast

On white

3.23
#628AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#628AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AF8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AF8#FFFFFF#000000##000000
##628AF81.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#3F89F6
Tritanopia (blue-blind)
#00A3B5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628af8;
/* rgb */ color: rgb(98, 138, 248);
/* oklch */ color: oklch(65.7% 0.169 266.7);
Tailwind
colors: {
  custom: {
    50: '#9babfb',
    500: '#628af8',
    950: '#000000',
  },
}
SCSS
$custom: #628af8;
$custom-light: #9babfb;
$custom-dark: #000000;
JSON
{
  "hex": "#628af8",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 224,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65739,
    "c": 0.16939,
    "h": 266.7
  },
  "luminance": 0.27551
}

Semantic roles & 50–950 ramp

primary
#628AF8
secondary
#F2E6C4
accent
#A800E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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