#628FFB#628FFB

#628FFB is a light, vivid blue. Relative luminance 0.292; OKLCH L 66.9% C 0.168 H 265.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#628FFB
RGBrgb(98, 143, 251)
HSLhsl(222, 95%, 68%)
HSVhsv(222, 61%, 98%)
CMYKcmyk(61%, 43%, 0%, 1.6%)
CIE-LABlab(60.96, 17.07, -58.54)
CIE-LCHlch(60.96, 60.98, 286.25°)
OKLaboklab(66.93% -0.0141 -0.1669)
OKLCHoklch(66.93% 0.168 265.2)
XYZxyz(32.2661, 29.2038, 95.1846)
Luminance0.2921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FFB #FBCE62
analogous
#62DBFB #628FFB #8162FB
triadic
#628FFB #FB628F #8FFB62
tetradic
#628FFB #FB62DB #FBCE62 #62FB81
square
#628FFB #FB62DB #FBCE62 #62FB81
split-complementary
#628FFB #FB8162 #DBFB62
monochromatic
#0645DD #2664F9 #628FFB #9EBAFD #D9E4FE

Accessibility & contrast

On white

3.07
#628FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#628FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FFB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FFB#FFFFFF#000000##000000
##628FFB1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#468DF9
Tritanopia (blue-blind)
#00A7B9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #628ffb;
/* rgb */ color: rgb(98, 143, 251);
/* oklch */ color: oklch(66.9% 0.168 265.2);
Tailwind
colors: {
  custom: {
    50: '#9baffd',
    500: '#628ffb',
    950: '#000000',
  },
}
SCSS
$custom: #628ffb;
$custom-light: #9baffd;
$custom-dark: #000000;
JSON
{
  "hex": "#628ffb",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 222.353,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66931,
    "c": 0.16754,
    "h": 265.2
  },
  "luminance": 0.29207
}

Semantic roles & 50–950 ramp

primary
#628FFB
secondary
#F3E6C5
accent
#A200E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #628FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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