#628AFF#628AFF

#628AFF is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.2% C 0.179 H 267.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#628AFF
RGBrgb(98, 138, 255)
HSLhsl(225, 100%, 69%)
HSVhsv(225, 62%, 100%)
CMYKcmyk(61.6%, 45.9%, 0%, 0%)
CIE-LABlab(59.88, 21.38, -62.47)
CIE-LCHlch(59.88, 66.02, 288.89°)
OKLaboklab(66.18% -0.0086 -0.1785)
OKLCHoklch(66.18% 0.179 267.2)
XYZxyz(32.1693, 27.9908, 98.2958)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AFF #FFD762
analogous
#62D9FF #628AFF #8962FF
triadic
#628AFF #FF628A #8AFF62
tetradic
#628AFF #FF62D9 #FFD762 #62FF89
square
#628AFF #FF62D9 #FFD762 #62FF89
split-complementary
#628AFF #FF8962 #D9FF62
monochromatic
#003BE7 #255CFF #628AFF #9FB8FF #DCE5FF

Accessibility & contrast

On white

3.18
#628AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#628AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AFF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AFF#FFFFFF#000000##000000
##628AFF1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#358AFD
Tritanopia (blue-blind)
#00A5B8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #628aff;
/* rgb */ color: rgb(98, 138, 255);
/* oklch */ color: oklch(66.2% 0.179 267.2);
Tailwind
colors: {
  custom: {
    50: '#9cabff',
    500: '#628aff',
    950: '#000000',
  },
}
SCSS
$custom: #628aff;
$custom-light: #9cabff;
$custom-dark: #000000;
JSON
{
  "hex": "#628aff",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 224.713,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66176,
    "c": 0.17874,
    "h": 267.2
  },
  "luminance": 0.27994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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