#628EF8#628EF8

#628EF8 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.5% C 0.165 H 265.2°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#628EF8
RGBrgb(98, 142, 248)
HSLhsl(222, 91%, 68%)
HSVhsv(222, 60%, 97%)
CMYKcmyk(60.5%, 42.7%, 0%, 2.7%)
CIE-LABlab(60.53, 16.68, -57.58)
CIE-LCHlch(60.53, 59.95, 286.15°)
OKLaboklab(66.55% -0.0136 -0.1641)
OKLCHoklch(66.55% 0.165 265.2)
XYZxyz(31.6475, 28.7172, 92.6639)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EF8 #F8CC62
analogous
#62D9F8 #628EF8 #8162F8
triadic
#628EF8 #F8628E #8EF862
tetradic
#628EF8 #F862D9 #F8CC62 #62F881
square
#628EF8 #F862D9 #F8CC62 #62F881
split-complementary
#628EF8 #F88162 #D9F862
monochromatic
#0A46D6 #2764F5 #628EF8 #9DB8FB #D7E2FD

Accessibility & contrast

On white

3.11
#628EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#628EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EF8
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EF8#FFFFFF#000000##000000
##628EF81.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FC
Deuteranopia (green-blind)
#478CF6
Tritanopia (blue-blind)
#00A6B7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #628ef8;
/* rgb */ color: rgb(98, 142, 248);
/* oklch */ color: oklch(66.5% 0.165 265.2);
Tailwind
colors: {
  custom: {
    50: '#9baefb',
    500: '#628ef8',
    950: '#000000',
  },
}
SCSS
$custom: #628ef8;
$custom-light: #9baefb;
$custom-dark: #000000;
JSON
{
  "hex": "#628ef8",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 222.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66547,
    "c": 0.16469,
    "h": 265.2
  },
  "luminance": 0.2872
}

Semantic roles & 50–950 ramp

primary
#628EF8
secondary
#F2E4C4
accent
#A200E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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