#628AFA#628AFA

#628AFA is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.9% C 0.172 H 266.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#628AFA
RGBrgb(98, 138, 250)
HSLhsl(224, 94%, 68%)
HSVhsv(224, 61%, 98%)
CMYKcmyk(60.8%, 44.8%, 0%, 2%)
CIE-LABlab(59.59, 19.73, -60.18)
CIE-LCHlch(59.59, 63.33, 288.15°)
OKLaboklab(65.86% -0.0094 -0.1718)
OKLCHoklch(65.86% 0.172 266.9)
XYZxyz(31.3749, 27.6730, 94.1120)
Luminance0.2768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AFA #FAD262
analogous
#62D6FA #628AFA #8662FA
triadic
#628AFA #FA628A #8AFA62
tetradic
#628AFA #FA62D6 #FAD262 #62FA86
square
#628AFA #FA62D6 #FAD262 #62FA86
split-complementary
#628AFA #FA8662 #D6FA62
monochromatic
#073FDB #275EF8 #628AFA #9DB6FC #D9E2FE

Accessibility & contrast

On white

3.21
#628AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#628AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AFA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AFA#FFFFFF#000000##000000
##628AFA1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FE
Deuteranopia (green-blind)
#3C89F8
Tritanopia (blue-blind)
#00A3B6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628afa;
/* rgb */ color: rgb(98, 138, 250);
/* oklch */ color: oklch(65.9% 0.172 266.9);
Tailwind
colors: {
  custom: {
    50: '#9babfc',
    500: '#628afa',
    950: '#000000',
  },
}
SCSS
$custom: #628afa;
$custom-light: #9babfc;
$custom-dark: #000000;
JSON
{
  "hex": "#628afa",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 224.211,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65863,
    "c": 0.17207,
    "h": 266.9
  },
  "luminance": 0.27676
}

Semantic roles & 50–950 ramp

primary
#628AFA
secondary
#F3E7C5
accent
#A900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #628AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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