#628FEF#628FEF

#628FEF is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.2% C 0.151 H 263.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#628FEF
RGBrgb(98, 143, 239)
HSLhsl(221, 82%, 66%)
HSVhsv(221, 59%, 94%)
CMYKcmyk(59%, 40.2%, 0%, 6.3%)
CIE-LABlab(60.31, 13.14, -52.97)
CIE-LCHlch(60.31, 54.57, 283.93°)
OKLaboklab(66.22% -0.0163 -0.1506)
OKLCHoklch(66.22% 0.151 263.8)
XYZxyz(30.4341, 28.4710, 85.5363)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FEF #EFC262
analogous
#62D5EF #628FEF #7B62EF
triadic
#628FEF #EF628F #8FEF62
tetradic
#628FEF #EF62D5 #EFC262 #62EF7B
square
#628FEF #EF62D5 #EFC262 #62EF7B
split-complementary
#628FEF #EF7B62 #D5EF62
monochromatic
#144CC3 #2A67E9 #628FEF #9AB7F5 #D1DEFA

Accessibility & contrast

On white

3.14
#628FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#628FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FEF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FEF#FFFFFF#000000##000000
##628FEF1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#528BED
Tritanopia (blue-blind)
#00A4B3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628fef;
/* rgb */ color: rgb(98, 143, 239);
/* oklch */ color: oklch(66.2% 0.151 263.8);
Tailwind
colors: {
  custom: {
    50: '#99aff5',
    500: '#628fef',
    950: '#000000',
  },
}
SCSS
$custom: #628fef;
$custom-light: #99aff5;
$custom-dark: #000000;
JSON
{
  "hex": "#628fef",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 220.851,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6622,
    "c": 0.15147,
    "h": 263.8
  },
  "luminance": 0.28474
}

Semantic roles & 50–950 ramp

primary
#628FEF
secondary
#EEDFBF
accent
#9908DE
background
#FAFAFF
surface
#F3F4FE
border
#CDCED6
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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