#628DF6#628DF6

#628DF6 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.2% C 0.163 H 265.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#628DF6
RGBrgb(98, 141, 246)
HSLhsl(223, 89%, 67%)
HSVhsv(223, 60%, 96%)
CMYKcmyk(60.2%, 42.7%, 0%, 3.5%)
CIE-LABlab(60.16, 16.62, -57.08)
CIE-LCHlch(60.16, 59.45, 286.23°)
OKLaboklab(66.22% -0.013 -0.1627)
OKLCHoklch(66.22% 0.163 265.4)
XYZxyz(31.1907, 28.2976, 90.9892)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628DF6 #F6CB62
analogous
#62D7F6 #628DF6 #8162F6
triadic
#628DF6 #F6628D #8DF662
tetradic
#628DF6 #F662D7 #F6CB62 #62F681
square
#628DF6 #F662D7 #F6CB62 #62F681
split-complementary
#628DF6 #F68162 #D7F662
monochromatic
#0C45D2 #2863F3 #628DF6 #9CB7F9 #D6E1FD

Accessibility & contrast

On white

3.15
#628DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#628DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628DF6
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628DF6#FFFFFF#000000##000000
##628DF61.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98FA
Deuteranopia (green-blind)
#488BF4
Tritanopia (blue-blind)
#00A5B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628df6;
/* rgb */ color: rgb(98, 141, 246);
/* oklch */ color: oklch(66.2% 0.163 265.4);
Tailwind
colors: {
  custom: {
    50: '#9aadfa',
    500: '#628df6',
    950: '#000000',
  },
}
SCSS
$custom: #628df6;
$custom-light: #9aadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#628df6",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 222.568,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66223,
    "c": 0.16318,
    "h": 265.4
  },
  "luminance": 0.283
}

Semantic roles & 50–950 ramp

primary
#628DF6
secondary
#F1E4C3
accent
#A300E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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