#628CF8#628CF8

#628CF8 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.1% C 0.167 H 266.0°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#628CF8
RGBrgb(98, 140, 248)
HSLhsl(223, 91%, 68%)
HSVhsv(223, 60%, 97%)
CMYKcmyk(60.5%, 43.5%, 0%, 2.7%)
CIE-LABlab(60.00, 17.87, -58.42)
CIE-LCHlch(60.00, 61.10, 287.01°)
OKLaboklab(66.14% -0.0117 -0.1666)
OKLCHoklch(66.14% 0.167 266)
XYZxyz(31.3526, 28.1274, 92.5656)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CF8 #F8CE62
analogous
#62D7F8 #628CF8 #8362F8
triadic
#628CF8 #F8628C #8CF862
tetradic
#628CF8 #F862D7 #F8CE62 #62F883
square
#628CF8 #F862D7 #F8CE62 #62F883
split-complementary
#628CF8 #F88362 #D7F862
monochromatic
#0A43D6 #2761F5 #628CF8 #9DB7FB #D7E2FD

Accessibility & contrast

On white

3.17
#628CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#628CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CF8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CF8#FFFFFF#000000##000000
##628CF81.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FC
Deuteranopia (green-blind)
#438AF6
Tritanopia (blue-blind)
#00A4B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628cf8;
/* rgb */ color: rgb(98, 140, 248);
/* oklch */ color: oklch(66.1% 0.167 266.0);
Tailwind
colors: {
  custom: {
    50: '#9badfb',
    500: '#628cf8',
    950: '#000000',
  },
}
SCSS
$custom: #628cf8;
$custom-light: #9badfb;
$custom-dark: #000000;
JSON
{
  "hex": "#628cf8",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 223.2,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66141,
    "c": 0.16703,
    "h": 266
  },
  "luminance": 0.2813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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