#628BF6#628BF6

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

Color values

HEX#628BF6
RGBrgb(98, 139, 246)
HSLhsl(223, 89%, 67%)
HSVhsv(223, 60%, 96%)
CMYKcmyk(60.2%, 43.5%, 0%, 3.5%)
CIE-LABlab(59.63, 17.81, -57.92)
CIE-LCHlch(59.63, 60.60, 287.09°)
OKLaboklab(65.82% -0.011 -0.1652)
OKLCHoklch(65.82% 0.166 266.2)
XYZxyz(30.8985, 27.7131, 90.8918)
Luminance0.2772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BF6 #F6CD62
analogous
#62D5F6 #628BF6 #8362F6
triadic
#628BF6 #F6628B #8BF662
tetradic
#628BF6 #F662D5 #F6CD62 #62F683
square
#628BF6 #F662D5 #F6CD62 #62F683
split-complementary
#628BF6 #F68362 #D5F662
monochromatic
#0C43D2 #2860F3 #628BF6 #9CB6F9 #D6E1FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628BF6#FFFFFF#000000##000000
##628BF61.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)
#5A97FA
Deuteranopia (green-blind)
#4489F4
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #628bf6;
/* rgb */ color: rgb(98, 139, 246);
/* oklch */ color: oklch(65.8% 0.166 266.2);
Tailwind
colors: {
  custom: {
    50: '#9aacfa',
    500: '#628bf6',
    950: '#000000',
  },
}
SCSS
$custom: #628bf6;
$custom-light: #9aacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#628bf6",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 223.378,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65817,
    "c": 0.16553,
    "h": 266.2
  },
  "luminance": 0.27716
}

Semantic roles & 50–950 ramp

primary
#628BF6
secondary
#F1E4C3
accent
#A600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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