#628FF5#628FF5

#628FF5 is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.6% C 0.160 H 264.5°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#628FF5
RGBrgb(98, 143, 245)
HSLhsl(222, 88%, 67%)
HSVhsv(222, 60%, 96%)
CMYKcmyk(60%, 41.6%, 0%, 3.9%)
CIE-LABlab(60.63, 15.10, -55.77)
CIE-LCHlch(60.63, 57.78, 285.15°)
OKLaboklab(66.57% -0.0152 -0.1588)
OKLCHoklch(66.57% 0.16 264.5)
XYZxyz(31.3352, 28.8315, 90.2822)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FF5 #F5C862
analogous
#62D8F5 #628FF5 #7F62F5
triadic
#628FF5 #F5628F #8FF562
tetradic
#628FF5 #F562D8 #F5C862 #62F57F
square
#628FF5 #F562D8 #F5C862 #62F57F
split-complementary
#628FF5 #F57F62 #D8F562
monochromatic
#0D49CF #2866F1 #628FF5 #9CB8F9 #D5E1FC

Accessibility & contrast

On white

3.10
#628FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#628FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FF5
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FF5#FFFFFF#000000##000000
##628FF51.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F9
Deuteranopia (green-blind)
#4C8CF3
Tritanopia (blue-blind)
#00A6B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #628ff5;
/* rgb */ color: rgb(98, 143, 245);
/* oklch */ color: oklch(66.6% 0.160 264.5);
Tailwind
colors: {
  custom: {
    50: '#9aaff9',
    500: '#628ff5',
    950: '#000000',
  },
}
SCSS
$custom: #628ff5;
$custom-light: #9aaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#628ff5",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 221.633,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66571,
    "c": 0.15951,
    "h": 264.5
  },
  "luminance": 0.28834
}

Semantic roles & 50–950 ramp

primary
#628FF5
secondary
#F1E2C2
accent
#9F01E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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