#628AF9#628AF9

#628AF9 is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.8% C 0.171 H 266.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#628AF9
RGBrgb(98, 138, 249)
HSLhsl(224, 93%, 68%)
HSVhsv(224, 61%, 98%)
CMYKcmyk(60.6%, 44.6%, 0%, 2.4%)
CIE-LABlab(59.54, 19.40, -59.72)
CIE-LCHlch(59.54, 62.79, 287.99°)
OKLaboklab(65.8% -0.0095 -0.1705)
OKLCHoklch(65.8% 0.171 266.8)
XYZxyz(31.2185, 27.6105, 93.2884)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AF9 #F9D162
analogous
#62D5F9 #628AF9 #8562F9
triadic
#628AF9 #F9628A #8AF962
tetradic
#628AF9 #F962D5 #F9D162 #62F985
square
#628AF9 #F962D5 #F9D162 #62F985
split-complementary
#628AF9 #F98562 #D5F962
monochromatic
#083FD8 #275EF7 #628AF9 #9DB6FB #D8E2FE

Accessibility & contrast

On white

3.22
#628AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#628AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AF9
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AF9#FFFFFF#000000##000000
##628AF91.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FD
Deuteranopia (green-blind)
#3E89F7
Tritanopia (blue-blind)
#00A3B5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628af9;
/* rgb */ color: rgb(98, 138, 249);
/* oklch */ color: oklch(65.8% 0.171 266.8);
Tailwind
colors: {
  custom: {
    50: '#9babfc',
    500: '#628af9',
    950: '#000000',
  },
}
SCSS
$custom: #628af9;
$custom-light: #9babfc;
$custom-dark: #000000;
JSON
{
  "hex": "#628af9",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 249
  },
  "hsl": {
    "h": 224.106,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.658,
    "c": 0.17073,
    "h": 266.8
  },
  "luminance": 0.27613
}

Semantic roles & 50–950 ramp

primary
#628AF9
secondary
#F2E6C4
accent
#A900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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