#628AF6#628AF6

#628AF6 is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.6% C 0.167 H 266.6°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#628AF6
RGBrgb(98, 138, 246)
HSLhsl(224, 89%, 67%)
HSVhsv(224, 60%, 96%)
CMYKcmyk(60.2%, 43.9%, 0%, 3.5%)
CIE-LABlab(59.37, 18.41, -58.34)
CIE-LCHlch(59.37, 61.18, 287.51°)
OKLaboklab(65.62% -0.01 -0.1664)
OKLCHoklch(65.62% 0.167 266.6)
XYZxyz(30.7544, 27.4248, 90.8437)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AF6 #F6CE62
analogous
#62D4F6 #628AF6 #8462F6
triadic
#628AF6 #F6628A #8AF662
tetradic
#628AF6 #F662D4 #F6CE62 #62F684
square
#628AF6 #F662D4 #F6CE62 #62F684
split-complementary
#628AF6 #F68462 #D4F662
monochromatic
#0C41D2 #285FF3 #628AF6 #9CB5F9 #D6E0FD

Accessibility & contrast

On white

3.24
#628AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#628AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AF6
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AF6#FFFFFF#000000##000000
##628AF61.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#4189F4
Tritanopia (blue-blind)
#00A2B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628af6;
/* rgb */ color: rgb(98, 138, 246);
/* oklch */ color: oklch(65.6% 0.167 266.6);
Tailwind
colors: {
  custom: {
    50: '#9aabfa',
    500: '#628af6',
    950: '#000000',
  },
}
SCSS
$custom: #628af6;
$custom-light: #9aabfa;
$custom-dark: #000000;
JSON
{
  "hex": "#628af6",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 246
  },
  "hsl": {
    "h": 223.784,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65616,
    "c": 0.1667,
    "h": 266.6
  },
  "luminance": 0.27427
}

Semantic roles & 50–950 ramp

primary
#628AF6
secondary
#F1E5C3
accent
#A700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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