#628EEE#628EEE

#628EEE is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.0% C 0.151 H 264.1°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#628EEE
RGBrgb(98, 142, 238)
HSLhsl(221, 80%, 66%)
HSVhsv(221, 59%, 93%)
CMYKcmyk(58.8%, 40.3%, 0%, 6.7%)
CIE-LABlab(59.99, 13.40, -52.93)
CIE-LCHlch(59.99, 54.60, 284.21°)
OKLaboklab(65.96% -0.0155 -0.1505)
OKLCHoklch(65.96% 0.151 264.1)
XYZxyz(30.1373, 28.1132, 84.7106)
Luminance0.2812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EEE #EEC262
analogous
#62D4EE #628EEE #7C62EE
triadic
#628EEE #EE628E #8EEE62
tetradic
#628EEE #EE62D4 #EEC262 #62EE7C
square
#628EEE #EE62D4 #EEC262 #62EE7C
split-complementary
#628EEE #EE7C62 #D4EE62
monochromatic
#154BC1 #2B66E8 #628EEE #99B6F4 #D0DDFA

Accessibility & contrast

On white

3.17
#628EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#628EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EEE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EEE#FFFFFF#000000##000000
##628EEE1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F2
Deuteranopia (green-blind)
#518BEC
Tritanopia (blue-blind)
#00A3B2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628eee;
/* rgb */ color: rgb(98, 142, 238);
/* oklch */ color: oklch(66.0% 0.151 264.1);
Tailwind
colors: {
  custom: {
    50: '#99aef4',
    500: '#628eee',
    950: '#000000',
  },
}
SCSS
$custom: #628eee;
$custom-light: #99aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#628eee",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 221.143,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65955,
    "c": 0.15127,
    "h": 264.1
  },
  "luminance": 0.28116
}

Semantic roles & 50–950 ramp

primary
#628EEE
secondary
#EDDEBF
accent
#9A09DD
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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