#628BFE#628BFE

#628BFE is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.3% C 0.176 H 266.8°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#628BFE
RGBrgb(98, 139, 254)
HSLhsl(224, 99%, 69%)
HSVhsv(224, 61%, 100%)
CMYKcmyk(61.4%, 45.3%, 0%, 0.4%)
CIE-LABlab(60.08, 20.45, -61.59)
CIE-LCHlch(60.08, 64.90, 288.36°)
OKLaboklab(66.31% -0.0097 -0.1759)
OKLCHoklch(66.31% 0.176 266.8)
XYZxyz(32.1529, 28.2148, 97.4983)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BFE #FED562
analogous
#62D9FE #628BFE #8762FE
triadic
#628BFE #FE628B #8BFE62
tetradic
#628BFE #FE62D9 #FED562 #62FE87
square
#628BFE #FE62D9 #FED562 #62FE87
split-complementary
#628BFE #FE8762 #D9FE62
monochromatic
#013DE4 #255EFE #628BFE #9FB8FE #DCE5FF

Accessibility & contrast

On white

3.16
#628BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#628BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BFE
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BFE#FFFFFF#000000##000000
##628BFE1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#398AFC
Tritanopia (blue-blind)
#00A5B8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628bfe;
/* rgb */ color: rgb(98, 139, 254);
/* oklch */ color: oklch(66.3% 0.176 266.8);
Tailwind
colors: {
  custom: {
    50: '#9cacff',
    500: '#628bfe',
    950: '#000000',
  },
}
SCSS
$custom: #628bfe;
$custom-light: #9cacff;
$custom-dark: #000000;
JSON
{
  "hex": "#628bfe",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 224.231,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66312,
    "c": 0.17622,
    "h": 266.8
  },
  "luminance": 0.28218
}

Semantic roles & 50–950 ramp

primary
#628BFE
secondary
#F5E9C7
accent
#A900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #628BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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