#628FFE#628FFE

#628FFE is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.1% C 0.172 H 265.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#628FFE
RGBrgb(98, 143, 254)
HSLhsl(223, 99%, 69%)
HSVhsv(223, 61%, 100%)
CMYKcmyk(61.4%, 43.7%, 0%, 0.4%)
CIE-LABlab(61.13, 18.06, -59.92)
CIE-LCHlch(61.13, 62.58, 286.77°)
OKLaboklab(67.11% -0.0136 -0.171)
OKLCHoklch(67.11% 0.172 265.4)
XYZxyz(32.7427, 29.3944, 97.6949)
Luminance0.2940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FFE #FED162
analogous
#62DDFE #628FFE #8362FE
triadic
#628FFE #FE628F #8FFE62
tetradic
#628FFE #FE62DD #FED162 #62FE83
square
#628FFE #FE62DD #FED162 #62FE83
split-complementary
#628FFE #FE8362 #DDFE62
monochromatic
#0143E4 #2564FE #628FFE #9FBAFE #DCE6FF

Accessibility & contrast

On white

3.05
#628FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#628FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FFE
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FFE#FFFFFF#000000##000000
##628FFE1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#438DFC
Tritanopia (blue-blind)
#00A8BA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #628ffe;
/* rgb */ color: rgb(98, 143, 254);
/* oklch */ color: oklch(67.1% 0.172 265.4);
Tailwind
colors: {
  custom: {
    50: '#9bafff',
    500: '#628ffe',
    950: '#000000',
  },
}
SCSS
$custom: #628ffe;
$custom-light: #9bafff;
$custom-dark: #000000;
JSON
{
  "hex": "#628ffe",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 222.692,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67113,
    "c": 0.17152,
    "h": 265.4
  },
  "luminance": 0.29397
}

Semantic roles & 50–950 ramp

primary
#628FFE
secondary
#F5E8C7
accent
#A300E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #628FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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