#628DF5#628DF5

#628DF5 is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.2% C 0.162 H 265.3°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#628DF5
RGBrgb(98, 141, 245)
HSLhsl(222, 88%, 67%)
HSVhsv(222, 60%, 96%)
CMYKcmyk(60%, 42.4%, 0%, 3.9%)
CIE-LABlab(60.10, 16.29, -56.61)
CIE-LCHlch(60.10, 58.91, 286.05°)
OKLaboklab(66.16% -0.0132 -0.1613)
OKLCHoklch(66.16% 0.162 265.3)
XYZxyz(31.0377, 28.2363, 90.1830)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628DF5 #F5CA62
analogous
#62D7F5 #628DF5 #8162F5
triadic
#628DF5 #F5628D #8DF562
tetradic
#628DF5 #F562D7 #F5CA62 #62F581
square
#628DF5 #F562D7 #F5CA62 #62F581
split-complementary
#628DF5 #F58162 #D7F562
monochromatic
#0D46CF #2863F1 #628DF5 #9CB7F9 #D5E1FC

Accessibility & contrast

On white

3.16
#628DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#628DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628DF5
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628DF5#FFFFFF#000000##000000
##628DF51.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E98F9
Deuteranopia (green-blind)
#498BF3
Tritanopia (blue-blind)
#00A4B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628df5;
/* rgb */ color: rgb(98, 141, 245);
/* oklch */ color: oklch(66.2% 0.162 265.3);
Tailwind
colors: {
  custom: {
    50: '#9aadf9',
    500: '#628df5',
    950: '#000000',
  },
}
SCSS
$custom: #628df5;
$custom-light: #9aadf9;
$custom-dark: #000000;
JSON
{
  "hex": "#628df5",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 222.449,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66163,
    "c": 0.16184,
    "h": 265.3
  },
  "luminance": 0.28239
}

Semantic roles & 50–950 ramp

primary
#628DF5
secondary
#F1E3C2
accent
#A201E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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