#628EF1#628EF1

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

Color values

HEX#628EF1
RGBrgb(98, 142, 241)
HSLhsl(222, 84%, 66%)
HSVhsv(222, 59%, 95%)
CMYKcmyk(59.3%, 41.1%, 0%, 5.5%)
CIE-LABlab(60.15, 14.38, -54.33)
CIE-LCHlch(60.15, 56.20, 284.83°)
OKLaboklab(66.13% -0.0149 -0.1546)
OKLCHoklch(66.13% 0.155 264.5)
XYZxyz(30.5817, 28.2909, 87.0511)
Luminance0.2829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EF1 #F1C562
analogous
#62D6F1 #628EF1 #7E62F1
triadic
#628EF1 #F1628E #8EF162
tetradic
#628EF1 #F162D6 #F1C562 #62F17E
square
#628EF1 #F162D6 #F1C562 #62F17E
split-complementary
#628EF1 #F17E62 #D6F162
monochromatic
#1249C7 #2A66EC #628EF1 #9AB6F6 #D2DFFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628EF1#FFFFFF#000000##000000
##628EF11.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)
#6298F5
Deuteranopia (green-blind)
#4E8BEF
Tritanopia (blue-blind)
#00A4B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628ef1;
/* rgb */ color: rgb(98, 142, 241);
/* oklch */ color: oklch(66.1% 0.155 264.5);
Tailwind
colors: {
  custom: {
    50: '#9aaef6',
    500: '#628ef1',
    950: '#000000',
  },
}
SCSS
$custom: #628ef1;
$custom-light: #9aaef6;
$custom-dark: #000000;
JSON
{
  "hex": "#628ef1",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 241
  },
  "hsl": {
    "h": 221.538,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6613,
    "c": 0.15531,
    "h": 264.5
  },
  "luminance": 0.28294
}

Semantic roles & 50–950 ramp

primary
#628EF1
secondary
#EFE0C0
accent
#9D05E0
background
#FAFAFF
surface
#F3F4FE
border
#CDCED6
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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