#628FEE#628FEE

#628FEE is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.2% C 0.150 H 263.7°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#628FEE
RGBrgb(98, 143, 238)
HSLhsl(221, 80%, 66%)
HSVhsv(221, 59%, 93%)
CMYKcmyk(58.8%, 39.9%, 0%, 6.7%)
CIE-LABlab(60.26, 12.81, -52.50)
CIE-LCHlch(60.26, 54.04, 283.71°)
OKLaboklab(66.16% -0.0165 -0.1492)
OKLCHoklch(66.16% 0.15 263.7)
XYZxyz(30.2868, 28.4121, 84.7604)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FEE #EEC162
analogous
#62D5EE #628FEE #7B62EE
triadic
#628FEE #EE628F #8FEE62
tetradic
#628FEE #EE62D5 #EEC162 #62EE7B
square
#628FEE #EE62D5 #EEC162 #62EE7B
split-complementary
#628FEE #EE7B62 #D5EE62
monochromatic
#154CC1 #2B68E8 #628FEE #99B6F4 #D0DEFA

Accessibility & contrast

On white

3.14
#628FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#628FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FEE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FEE#FFFFFF#000000##000000
##628FEE1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#538BEC
Tritanopia (blue-blind)
#00A4B3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628fee;
/* rgb */ color: rgb(98, 143, 238);
/* oklch */ color: oklch(66.2% 0.150 263.7);
Tailwind
colors: {
  custom: {
    50: '#99aff4',
    500: '#628fee',
    950: '#000000',
  },
}
SCSS
$custom: #628fee;
$custom-light: #99aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#628fee",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 220.714,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66162,
    "c": 0.15012,
    "h": 263.7
  },
  "luminance": 0.28415
}

Semantic roles & 50–950 ramp

primary
#628FEE
secondary
#EDDEBF
accent
#9909DD
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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