#628FEA#628FEA

#628FEA is a light, vivid blue. Relative luminance 0.282; OKLCH L 65.9% C 0.145 H 263.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#628FEA
RGBrgb(98, 143, 234)
HSLhsl(220, 76%, 65%)
HSVhsv(220, 58%, 92%)
CMYKcmyk(58.1%, 38.9%, 0%, 8.2%)
CIE-LABlab(60.05, 11.51, -50.62)
CIE-LCHlch(60.05, 51.91, 282.81°)
OKLaboklab(65.93% -0.0173 -0.1437)
OKLCHoklch(65.93% 0.145 263.1)
XYZxyz(29.7056, 28.1796, 81.6997)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FEA #EABD62
analogous
#62D3EA #628FEA #7962EA
triadic
#628FEA #EA628F #8FEA62
tetradic
#628FEA #EA62D3 #EABD62 #62EA79
square
#628FEA #EA62D3 #EABD62 #62EA79
split-complementary
#628FEA #EA7962 #D3EA62
monochromatic
#194EB9 #2C68E3 #628FEA #98B6F1 #CEDCF8

Accessibility & contrast

On white

3.16
#628FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#628FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FEA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FEA#FFFFFF#000000##000000
##628FEA1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6897EE
Deuteranopia (green-blind)
#568BE8
Tritanopia (blue-blind)
#00A3B1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628fea;
/* rgb */ color: rgb(98, 143, 234);
/* oklch */ color: oklch(65.9% 0.145 263.1);
Tailwind
colors: {
  custom: {
    50: '#99aff1',
    500: '#628fea',
    950: '#000000',
  },
}
SCSS
$custom: #628fea;
$custom-light: #99aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#628fea",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 234
  },
  "hsl": {
    "h": 220.147,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65933,
    "c": 0.14474,
    "h": 263.1
  },
  "luminance": 0.28182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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