#628EEA#628EEA

#628EEA is a light, vivid blue. Relative luminance 0.279; OKLCH L 65.7% C 0.146 H 263.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#628EEA
RGBrgb(98, 142, 234)
HSLhsl(221, 76%, 65%)
HSVhsv(221, 58%, 92%)
CMYKcmyk(58.1%, 39.3%, 0%, 8.2%)
CIE-LABlab(59.78, 12.10, -51.05)
CIE-LCHlch(59.78, 52.46, 283.34°)
OKLaboklab(65.72% -0.0163 -0.145)
OKLCHoklch(65.72% 0.146 263.6)
XYZxyz(29.5562, 27.8807, 81.6499)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EEA #EABE62
analogous
#62D2EA #628EEA #7A62EA
triadic
#628EEA #EA628E #8EEA62
tetradic
#628EEA #EA62D2 #EABE62 #62EA7A
square
#628EEA #EA62D2 #EABE62 #62EA7A
split-complementary
#628EEA #EA7A62 #D2EA62
monochromatic
#194DB9 #2C67E3 #628EEA #98B5F1 #CEDCF8

Accessibility & contrast

On white

3.19
#628EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#628EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EEA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EEA#FFFFFF#000000##000000
##628EEA1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EE
Deuteranopia (green-blind)
#558AE8
Tritanopia (blue-blind)
#00A2B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #628eea;
/* rgb */ color: rgb(98, 142, 234);
/* oklch */ color: oklch(65.7% 0.146 263.6);
Tailwind
colors: {
  custom: {
    50: '#99aef1',
    500: '#628eea',
    950: '#000000',
  },
}
SCSS
$custom: #628eea;
$custom-light: #99aef1;
$custom-dark: #000000;
JSON
{
  "hex": "#628eea",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 220.588,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65724,
    "c": 0.14587,
    "h": 263.6
  },
  "luminance": 0.27883
}

Semantic roles & 50–950 ramp

primary
#628EEA
secondary
#EBDCBD
accent
#970DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #628EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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