#628AFB#628AFB

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

Color values

HEX#628AFB
RGBrgb(98, 138, 251)
HSLhsl(224, 95%, 68%)
HSVhsv(224, 61%, 98%)
CMYKcmyk(61%, 45%, 0%, 1.6%)
CIE-LABlab(59.65, 20.06, -60.64)
CIE-LCHlch(59.65, 63.87, 288.30°)
OKLaboklab(65.93% -0.0092 -0.1732)
OKLCHoklch(65.93% 0.173 267)
XYZxyz(31.5321, 27.7359, 94.9400)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AFB #FBD362
analogous
#62D6FB #628AFB #8662FB
triadic
#628AFB #FB628A #8AFB62
tetradic
#628AFB #FB62D6 #FBD362 #62FB86
square
#628AFB #FB62D6 #FBD362 #62FB86
split-complementary
#628AFB #FB8662 #D6FB62
monochromatic
#063EDD #265EF9 #628AFB #9EB6FD #D9E3FE

Accessibility & contrast

On white

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

On black

6.55
#628AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AFB
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AFB#FFFFFF#000000##000000
##628AFB1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FF
Deuteranopia (green-blind)
#3B89F9
Tritanopia (blue-blind)
#00A4B6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #628afb;
/* rgb */ color: rgb(98, 138, 251);
/* oklch */ color: oklch(65.9% 0.173 267.0);
Tailwind
colors: {
  custom: {
    50: '#9babfd',
    500: '#628afb',
    950: '#000000',
  },
}
SCSS
$custom: #628afb;
$custom-light: #9babfd;
$custom-dark: #000000;
JSON
{
  "hex": "#628afb",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 251
  },
  "hsl": {
    "h": 224.314,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65925,
    "c": 0.17341,
    "h": 267
  },
  "luminance": 0.27739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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