#628EED#628EED

#628EED is a light, vivid blue. Relative luminance 0.281; OKLCH L 65.9% C 0.150 H 264.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#628EED
RGBrgb(98, 142, 237)
HSLhsl(221, 79%, 66%)
HSVhsv(221, 59%, 93%)
CMYKcmyk(58.6%, 40.1%, 0%, 7.1%)
CIE-LABlab(59.94, 13.08, -52.46)
CIE-LCHlch(59.94, 54.06, 284.00°)
OKLaboklab(65.9% -0.0157 -0.1491)
OKLCHoklch(65.9% 0.15 264)
XYZxyz(29.9908, 28.0546, 83.9390)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EED #EDC162
analogous
#62D4ED #628EED #7B62ED
triadic
#628EED #ED628E #8EED62
tetradic
#628EED #ED62D4 #EDC162 #62ED7B
square
#628EED #ED62D4 #EDC162 #62ED7B
split-complementary
#628EED #ED7B62 #D4ED62
monochromatic
#164BBF #2B66E7 #628EED #99B6F3 #D0DDFA

Accessibility & contrast

On white

3.18
#628EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#628EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EED
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EED#FFFFFF#000000##000000
##628EED1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F1
Deuteranopia (green-blind)
#528BEB
Tritanopia (blue-blind)
#00A3B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #628eed;
/* rgb */ color: rgb(98, 142, 237);
/* oklch */ color: oklch(65.9% 0.150 264.0);
Tailwind
colors: {
  custom: {
    50: '#99aef3',
    500: '#628eed',
    950: '#000000',
  },
}
SCSS
$custom: #628eed;
$custom-light: #99aef3;
$custom-dark: #000000;
JSON
{
  "hex": "#628eed",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 237
  },
  "hsl": {
    "h": 221.007,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65897,
    "c": 0.14992,
    "h": 264
  },
  "luminance": 0.28057
}

Semantic roles & 50–950 ramp

primary
#628EED
secondary
#EDDEBE
accent
#990ADC
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628EED

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

Preview Lab → · Contrast checker → · Palette generator →

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