#628DF8#628DF8

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

Color values

HEX#628DF8
RGBrgb(98, 141, 248)
HSLhsl(223, 91%, 68%)
HSVhsv(223, 60%, 97%)
CMYKcmyk(60.5%, 43.1%, 0%, 2.7%)
CIE-LABlab(60.27, 17.27, -58.00)
CIE-LCHlch(60.27, 60.52, 286.58°)
OKLaboklab(66.34% -0.0126 -0.1654)
OKLCHoklch(66.34% 0.166 265.6)
XYZxyz(31.4993, 28.4210, 92.6146)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628DF8 #F8CD62
analogous
#62D8F8 #628DF8 #8262F8
triadic
#628DF8 #F8628D #8DF862
tetradic
#628DF8 #F862D8 #F8CD62 #62F882
square
#628DF8 #F862D8 #F8CD62 #62F882
split-complementary
#628DF8 #F88262 #D8F862
monochromatic
#0A44D6 #2762F5 #628DF8 #9DB8FB #D7E2FD

Accessibility & contrast

On white

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

On black

6.68
#628DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628DF8
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628DF8#FFFFFF#000000##000000
##628DF81.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FC
Deuteranopia (green-blind)
#458BF6
Tritanopia (blue-blind)
#00A5B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628df8;
/* rgb */ color: rgb(98, 141, 248);
/* oklch */ color: oklch(66.3% 0.166 265.6);
Tailwind
colors: {
  custom: {
    50: '#9badfb',
    500: '#628df8',
    950: '#000000',
  },
}
SCSS
$custom: #628df8;
$custom-light: #9badfb;
$custom-dark: #000000;
JSON
{
  "hex": "#628df8",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 222.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66344,
    "c": 0.16585,
    "h": 265.6
  },
  "luminance": 0.28424
}

Semantic roles & 50–950 ramp

primary
#628DF8
secondary
#F2E5C4
accent
#A400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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