#628FEC#628FEC

#628FEC is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.0% C 0.147 H 263.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#628FEC
RGBrgb(98, 143, 236)
HSLhsl(220, 78%, 65%)
HSVhsv(220, 58%, 93%)
CMYKcmyk(58.5%, 39.4%, 0%, 7.5%)
CIE-LABlab(60.15, 12.16, -51.56)
CIE-LCHlch(60.15, 52.97, 283.27°)
OKLaboklab(66.05% -0.0169 -0.1465)
OKLCHoklch(66.05% 0.147 263.4)
XYZxyz(29.9946, 28.2952, 83.2215)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FEC #ECBF62
analogous
#62D4EC #628FEC #7A62EC
triadic
#628FEC #EC628F #8FEC62
tetradic
#628FEC #EC62D4 #ECBF62 #62EC7A
square
#628FEC #EC62D4 #ECBF62 #62EC7A
split-complementary
#628FEC #EC7A62 #D4EC62
monochromatic
#174DBD #2B68E5 #628FEC #99B6F3 #CFDDF9

Accessibility & contrast

On white

3.15
#628FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#628FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FEC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FEC#FFFFFF#000000##000000
##628FEC1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F0
Deuteranopia (green-blind)
#558BEA
Tritanopia (blue-blind)
#00A4B2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628fec;
/* rgb */ color: rgb(98, 143, 236);
/* oklch */ color: oklch(66.0% 0.147 263.4);
Tailwind
colors: {
  custom: {
    50: '#99aff2',
    500: '#628fec',
    950: '#000000',
  },
}
SCSS
$custom: #628fec;
$custom-light: #99aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#628fec",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 236
  },
  "hsl": {
    "h": 220.435,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66047,
    "c": 0.14744,
    "h": 263.4
  },
  "luminance": 0.28298
}

Semantic roles & 50–950 ramp

primary
#628FEC
secondary
#ECDDBE
accent
#970BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #628FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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