#628DFB#628DFB

#628DFB is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.5% C 0.170 H 265.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#628DFB
RGBrgb(98, 141, 251)
HSLhsl(223, 95%, 68%)
HSVhsv(223, 61%, 98%)
CMYKcmyk(61%, 43.8%, 0%, 1.6%)
CIE-LABlab(60.43, 18.26, -59.38)
CIE-LCHlch(60.43, 62.13, 287.09°)
OKLaboklab(66.53% -0.0122 -0.1694)
OKLCHoklch(66.53% 0.17 265.9)
XYZxyz(31.9685, 28.6087, 95.0854)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628DFB #FBD062
analogous
#62DAFB #628DFB #8362FB
triadic
#628DFB #FB628D #8DFB62
tetradic
#628DFB #FB62DA #FBD062 #62FB83
square
#628DFB #FB62DA #FBD062 #62FB83
split-complementary
#628DFB #FB8362 #DAFB62
monochromatic
#0642DD #2662F9 #628DFB #9EB8FD #D9E4FE

Accessibility & contrast

On white

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

On black

6.72
#628DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628DFB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628DFB#FFFFFF#000000##000000
##628DFB1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FF
Deuteranopia (green-blind)
#428BF9
Tritanopia (blue-blind)
#00A6B8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #628dfb;
/* rgb */ color: rgb(98, 141, 251);
/* oklch */ color: oklch(66.5% 0.170 265.9);
Tailwind
colors: {
  custom: {
    50: '#9badfd',
    500: '#628dfb',
    950: '#000000',
  },
}
SCSS
$custom: #628dfb;
$custom-light: #9badfd;
$custom-dark: #000000;
JSON
{
  "hex": "#628dfb",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 223.137,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66526,
    "c": 0.16987,
    "h": 265.9
  },
  "luminance": 0.28611
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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