#628CFE#628CFE

#628CFE is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.5% C 0.175 H 266.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#628CFE
RGBrgb(98, 140, 254)
HSLhsl(224, 99%, 69%)
HSVhsv(224, 61%, 100%)
CMYKcmyk(61.4%, 44.9%, 0%, 0.4%)
CIE-LABlab(60.34, 19.85, -61.18)
CIE-LCHlch(60.34, 64.32, 287.98°)
OKLaboklab(66.51% -0.0107 -0.1747)
OKLCHoklch(66.51% 0.175 266.5)
XYZxyz(32.2983, 28.5058, 97.5468)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CFE #FED462
analogous
#62DAFE #628CFE #8662FE
triadic
#628CFE #FE628C #8CFE62
tetradic
#628CFE #FE62DA #FED462 #62FE86
square
#628CFE #FE62DA #FED462 #62FE86
split-complementary
#628CFE #FE8662 #DAFE62
monochromatic
#013EE4 #255FFE #628CFE #9FB9FE #DCE5FF

Accessibility & contrast

On white

3.13
#628CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#628CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CFE
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CFE#FFFFFF#000000##000000
##628CFE1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#3C8BFC
Tritanopia (blue-blind)
#00A6B9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628cfe;
/* rgb */ color: rgb(98, 140, 254);
/* oklch */ color: oklch(66.5% 0.175 266.5);
Tailwind
colors: {
  custom: {
    50: '#9cadff',
    500: '#628cfe',
    950: '#000000',
  },
}
SCSS
$custom: #628cfe;
$custom-light: #9cadff;
$custom-dark: #000000;
JSON
{
  "hex": "#628cfe",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 254
  },
  "hsl": {
    "h": 223.846,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66511,
    "c": 0.17504,
    "h": 266.5
  },
  "luminance": 0.28509
}

Semantic roles & 50–950 ramp

primary
#628CFE
secondary
#F5E8C7
accent
#A800E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #628CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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