#628AFE#628AFE

#628AFE is a light, vivid blue. Relative luminance 0.279; OKLCH L 66.1% C 0.177 H 267.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#628AFE
RGBrgb(98, 138, 254)
HSLhsl(225, 99%, 69%)
HSVhsv(225, 61%, 100%)
CMYKcmyk(61.4%, 45.7%, 0%, 0.4%)
CIE-LABlab(59.82, 21.05, -62.01)
CIE-LCHlch(59.82, 65.49, 288.75°)
OKLaboklab(66.11% -0.0088 -0.1772)
OKLCHoklch(66.11% 0.177 267.2)
XYZxyz(32.0088, 27.9266, 97.4503)
Luminance0.2793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AFE #FED662
analogous
#62D8FE #628AFE #8862FE
triadic
#628AFE #FE628A #8AFE62
tetradic
#628AFE #FE62D8 #FED662 #62FE88
square
#628AFE #FE62D8 #FED662 #62FE88
split-complementary
#628AFE #FE8862 #D8FE62
monochromatic
#013CE4 #255DFE #628AFE #9FB7FE #DCE5FF

Accessibility & contrast

On white

3.19
#628AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#628AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AFE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AFE#FFFFFF#000000##000000
##628AFE1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#3789FC
Tritanopia (blue-blind)
#00A4B8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #628afe;
/* rgb */ color: rgb(98, 138, 254);
/* oklch */ color: oklch(66.1% 0.177 267.2);
Tailwind
colors: {
  custom: {
    50: '#9cabff',
    500: '#628afe',
    950: '#000000',
  },
}
SCSS
$custom: #628afe;
$custom-light: #9cabff;
$custom-dark: #000000;
JSON
{
  "hex": "#628afe",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 224.615,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66113,
    "c": 0.17741,
    "h": 267.2
  },
  "luminance": 0.27929
}

Semantic roles & 50–950 ramp

primary
#628AFE
secondary
#F5E9C7
accent
#AB00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #628AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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