#628DFC#628DFC

#628DFC is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.6% C 0.171 H 266.0°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#628DFC
RGBrgb(98, 141, 252)
HSLhsl(223, 96%, 69%)
HSVhsv(223, 61%, 99%)
CMYKcmyk(61.1%, 44%, 0%, 1.2%)
CIE-LABlab(60.49, 18.59, -59.84)
CIE-LCHlch(60.49, 62.66, 287.26°)
OKLaboklab(66.59% -0.012 -0.1708)
OKLCHoklch(66.59% 0.171 266)
XYZxyz(32.1265, 28.6719, 95.9178)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628DFC #FCD162
analogous
#62DAFC #628DFC #8462FC
triadic
#628DFC #FC628D #8DFC62
tetradic
#628DFC #FC62DA #FCD162 #62FC84
square
#628DFC #FC62DA #FCD162 #62FC84
split-complementary
#628DFC #FC8462 #DAFC62
monochromatic
#0441DF #2661FB #628DFC #9EB9FD #DAE4FE

Accessibility & contrast

On white

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

On black

6.74
#628DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628DFC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628DFC#FFFFFF#000000##000000
##628DFC1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#418BFA
Tritanopia (blue-blind)
#00A6B8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #628dfc;
/* rgb */ color: rgb(98, 141, 252);
/* oklch */ color: oklch(66.6% 0.171 266.0);
Tailwind
colors: {
  custom: {
    50: '#9badfe',
    500: '#628dfc',
    950: '#000000',
  },
}
SCSS
$custom: #628dfc;
$custom-light: #9badfe;
$custom-dark: #000000;
JSON
{
  "hex": "#628dfc",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 223.247,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66588,
    "c": 0.1712,
    "h": 266
  },
  "luminance": 0.28675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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