#628FF8#628FF8

#628FF8 is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.8% C 0.164 H 264.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#628FF8
RGBrgb(98, 143, 248)
HSLhsl(222, 91%, 68%)
HSVhsv(222, 60%, 97%)
CMYKcmyk(60.5%, 42.3%, 0%, 2.7%)
CIE-LABlab(60.80, 16.08, -57.16)
CIE-LCHlch(60.80, 59.38, 285.71°)
OKLaboklab(66.75% -0.0146 -0.1629)
OKLCHoklch(66.75% 0.164 264.9)
XYZxyz(31.7969, 29.0161, 92.7138)
Luminance0.2902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FF8 #F8CB62
analogous
#62DAF8 #628FF8 #8062F8
triadic
#628FF8 #F8628F #8FF862
tetradic
#628FF8 #F862DA #F8CB62 #62F880
square
#628FF8 #F862DA #F8CB62 #62F880
split-complementary
#628FF8 #F88062 #DAF862
monochromatic
#0A47D6 #2765F5 #628FF8 #9DB9FB #D7E3FD

Accessibility & contrast

On white

3.09
#628FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#628FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FF8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FF8#FFFFFF#000000##000000
##628FF81.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFC
Deuteranopia (green-blind)
#498CF6
Tritanopia (blue-blind)
#00A7B7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #628ff8;
/* rgb */ color: rgb(98, 143, 248);
/* oklch */ color: oklch(66.8% 0.164 264.9);
Tailwind
colors: {
  custom: {
    50: '#9baffb',
    500: '#628ff8',
    950: '#000000',
  },
}
SCSS
$custom: #628ff8;
$custom-light: #9baffb;
$custom-dark: #000000;
JSON
{
  "hex": "#628ff8",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 222,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6675,
    "c": 0.16353,
    "h": 264.9
  },
  "luminance": 0.29019
}

Semantic roles & 50–950 ramp

primary
#628FF8
secondary
#F2E4C4
accent
#A100E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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