#628FF7#628FF7

#628FF7 is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.7% C 0.162 H 264.8°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#628FF7
RGBrgb(98, 143, 247)
HSLhsl(222, 90%, 68%)
HSVhsv(222, 60%, 97%)
CMYKcmyk(60.3%, 42.1%, 0%, 3.1%)
CIE-LABlab(60.74, 15.75, -56.70)
CIE-LCHlch(60.74, 58.84, 285.53°)
OKLaboklab(66.69% -0.0148 -0.1615)
OKLCHoklch(66.69% 0.162 264.8)
XYZxyz(31.6422, 28.9542, 91.8989)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FF7 #F7CA62
analogous
#62DAF7 #628FF7 #7F62F7
triadic
#628FF7 #F7628F #8FF762
tetradic
#628FF7 #F762DA #F7CA62 #62F77F
square
#628FF7 #F762DA #F7CA62 #62F77F
split-complementary
#628FF7 #F77F62 #DAF762
monochromatic
#0B48D4 #2865F4 #628FF7 #9CB9FA #D6E2FD

Accessibility & contrast

On white

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

On black

6.79
#628FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FF7
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FF7#FFFFFF#000000##000000
##628FF71.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFB
Deuteranopia (green-blind)
#4A8CF5
Tritanopia (blue-blind)
#00A6B7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #628ff7;
/* rgb */ color: rgb(98, 143, 247);
/* oklch */ color: oklch(66.7% 0.162 264.8);
Tailwind
colors: {
  custom: {
    50: '#9aaffa',
    500: '#628ff7',
    950: '#000000',
  },
}
SCSS
$custom: #628ff7;
$custom-light: #9aaffa;
$custom-dark: #000000;
JSON
{
  "hex": "#628ff7",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 221.879,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6669,
    "c": 0.16219,
    "h": 264.8
  },
  "luminance": 0.28957
}

Semantic roles & 50–950 ramp

primary
#628FF7
secondary
#F2E4C3
accent
#A000E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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