#628BF8#628BF8

#628BF8 is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.9% C 0.168 H 266.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#628BF8
RGBrgb(98, 139, 248)
HSLhsl(224, 91%, 68%)
HSVhsv(224, 60%, 97%)
CMYKcmyk(60.5%, 44%, 0%, 2.7%)
CIE-LABlab(59.74, 18.47, -58.84)
CIE-LCHlch(59.74, 61.67, 287.43°)
OKLaboklab(65.94% -0.0107 -0.1679)
OKLCHoklch(65.94% 0.168 266.4)
XYZxyz(31.2071, 27.8365, 92.5172)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BF8 #F8CF62
analogous
#62D6F8 #628BF8 #8462F8
triadic
#628BF8 #F8628B #8BF862
tetradic
#628BF8 #F862D6 #F8CF62 #62F884
square
#628BF8 #F862D6 #F8CF62 #62F884
split-complementary
#628BF8 #F88462 #D6F862
monochromatic
#0A41D6 #2760F5 #628BF8 #9DB6FB #D7E2FD

Accessibility & contrast

On white

3.20
#628BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#628BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BF8
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BF8#FFFFFF#000000##000000
##628BF81.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#418AF6
Tritanopia (blue-blind)
#00A4B5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #628bf8;
/* rgb */ color: rgb(98, 139, 248);
/* oklch */ color: oklch(65.9% 0.168 266.4);
Tailwind
colors: {
  custom: {
    50: '#9bacfb',
    500: '#628bf8',
    950: '#000000',
  },
}
SCSS
$custom: #628bf8;
$custom-light: #9bacfb;
$custom-dark: #000000;
JSON
{
  "hex": "#628bf8",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 223.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6594,
    "c": 0.16821,
    "h": 266.4
  },
  "luminance": 0.27839
}

Semantic roles & 50–950 ramp

primary
#628BF8
secondary
#F2E5C4
accent
#A700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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