#628EF7#628EF7

#628EF7 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.5% C 0.163 H 265.1°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#628EF7
RGBrgb(98, 142, 247)
HSLhsl(222, 90%, 68%)
HSVhsv(222, 60%, 97%)
CMYKcmyk(60.3%, 42.5%, 0%, 3.1%)
CIE-LABlab(60.48, 16.35, -57.12)
CIE-LCHlch(60.48, 59.41, 285.97°)
OKLaboklab(66.49% -0.0138 -0.1628)
OKLCHoklch(66.49% 0.163 265.1)
XYZxyz(31.4927, 28.6553, 91.8491)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EF7 #F7CB62
analogous
#62D8F7 #628EF7 #8162F7
triadic
#628EF7 #F7628E #8EF762
tetradic
#628EF7 #F762D8 #F7CB62 #62F781
square
#628EF7 #F762D8 #F7CB62 #62F781
split-complementary
#628EF7 #F78162 #D8F762
monochromatic
#0B46D4 #2864F4 #628EF7 #9CB8FA #D6E2FD

Accessibility & contrast

On white

3.12
#628EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#628EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EF7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EF7#FFFFFF#000000##000000
##628EF71.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FB
Deuteranopia (green-blind)
#488CF5
Tritanopia (blue-blind)
#00A6B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #628ef7;
/* rgb */ color: rgb(98, 142, 247);
/* oklch */ color: oklch(66.5% 0.163 265.1);
Tailwind
colors: {
  custom: {
    50: '#9aaefa',
    500: '#628ef7',
    950: '#000000',
  },
}
SCSS
$custom: #628ef7;
$custom-light: #9aaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#628ef7",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 222.282,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66486,
    "c": 0.16336,
    "h": 265.1
  },
  "luminance": 0.28658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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