#628DF7#628DF7

#628DF7 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.3% C 0.165 H 265.5°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#628DF7
RGBrgb(98, 141, 247)
HSLhsl(223, 90%, 68%)
HSVhsv(223, 60%, 97%)
CMYKcmyk(60.3%, 42.9%, 0%, 3.1%)
CIE-LABlab(60.21, 16.95, -57.54)
CIE-LCHlch(60.21, 59.98, 286.41°)
OKLaboklab(66.28% -0.0128 -0.164)
OKLCHoklch(66.28% 0.165 265.5)
XYZxyz(31.3446, 28.3591, 91.7997)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628DF7 #F7CC62
analogous
#62D7F7 #628DF7 #8262F7
triadic
#628DF7 #F7628D #8DF762
tetradic
#628DF7 #F762D7 #F7CC62 #62F782
square
#628DF7 #F762D7 #F7CC62 #62F782
split-complementary
#628DF7 #F78262 #D7F762
monochromatic
#0B45D4 #2863F4 #628DF7 #9CB7FA #D6E2FD

Accessibility & contrast

On white

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

On black

6.67
#628DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628DF7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628DF7#FFFFFF#000000##000000
##628DF71.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98FB
Deuteranopia (green-blind)
#468BF5
Tritanopia (blue-blind)
#00A5B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628df7;
/* rgb */ color: rgb(98, 141, 247);
/* oklch */ color: oklch(66.3% 0.165 265.5);
Tailwind
colors: {
  custom: {
    50: '#9aadfa',
    500: '#628df7',
    950: '#000000',
  },
}
SCSS
$custom: #628df7;
$custom-light: #9aadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#628df7",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 222.685,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66283,
    "c": 0.16452,
    "h": 265.5
  },
  "luminance": 0.28362
}

Semantic roles & 50–950 ramp

primary
#628DF7
secondary
#F2E4C3
accent
#A300E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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