#628EFE#628EFE

#628EFE is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.9% C 0.173 H 265.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#628EFE
RGBrgb(98, 142, 254)
HSLhsl(223, 99%, 69%)
HSVhsv(223, 61%, 100%)
CMYKcmyk(61.4%, 44.1%, 0%, 0.4%)
CIE-LABlab(60.87, 18.65, -60.34)
CIE-LCHlch(60.87, 63.16, 287.18°)
OKLaboklab(66.91% -0.0127 -0.1722)
OKLCHoklch(66.91% 0.173 265.8)
XYZxyz(32.5932, 29.0955, 97.6451)
Luminance0.2910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EFE #FED262
analogous
#62DCFE #628EFE #8462FE
triadic
#628EFE #FE628E #8EFE62
tetradic
#628EFE #FE62DC #FED262 #62FE84
square
#628EFE #FE62DC #FED262 #62FE84
split-complementary
#628EFE #FE8462 #DCFE62
monochromatic
#0141E4 #2562FE #628EFE #9FBAFE #DCE6FF

Accessibility & contrast

On white

3.08
#628EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#628EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EFE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EFE#FFFFFF#000000##000000
##628EFE1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#408CFC
Tritanopia (blue-blind)
#00A7BA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #628efe;
/* rgb */ color: rgb(98, 142, 254);
/* oklch */ color: oklch(66.9% 0.173 265.8);
Tailwind
colors: {
  custom: {
    50: '#9baeff',
    500: '#628efe',
    950: '#000000',
  },
}
SCSS
$custom: #628efe;
$custom-light: #9baeff;
$custom-dark: #000000;
JSON
{
  "hex": "#628efe",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 223.077,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66912,
    "c": 0.17269,
    "h": 265.8
  },
  "luminance": 0.29098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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