#628FF6#628FF6

#628FF6 is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.6% C 0.161 H 264.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#628FF6
RGBrgb(98, 143, 246)
HSLhsl(222, 89%, 67%)
HSVhsv(222, 60%, 96%)
CMYKcmyk(60.2%, 41.9%, 0%, 3.5%)
CIE-LABlab(60.69, 15.42, -56.23)
CIE-LCHlch(60.69, 58.31, 285.34°)
OKLaboklab(66.63% -0.015 -0.1601)
OKLCHoklch(66.63% 0.161 264.6)
XYZxyz(31.4883, 28.8927, 91.0884)
Luminance0.2889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FF6 #F6C962
analogous
#62D9F6 #628FF6 #7F62F6
triadic
#628FF6 #F6628F #8FF662
tetradic
#628FF6 #F662D9 #F6C962 #62F67F
square
#628FF6 #F662D9 #F6C962 #62F67F
split-complementary
#628FF6 #F67F62 #D9F662
monochromatic
#0C48D2 #2866F3 #628FF6 #9CB8F9 #D6E2FD

Accessibility & contrast

On white

3.10
#628FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#628FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FF6
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FF6#FFFFFF#000000##000000
##628FF61.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFA
Deuteranopia (green-blind)
#4B8CF4
Tritanopia (blue-blind)
#00A6B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #628ff6;
/* rgb */ color: rgb(98, 143, 246);
/* oklch */ color: oklch(66.6% 0.161 264.6);
Tailwind
colors: {
  custom: {
    50: '#9aaffa',
    500: '#628ff6',
    950: '#000000',
  },
}
SCSS
$custom: #628ff6;
$custom-light: #9aaffa;
$custom-dark: #000000;
JSON
{
  "hex": "#628ff6",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 246
  },
  "hsl": {
    "h": 221.757,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66631,
    "c": 0.16085,
    "h": 264.6
  },
  "luminance": 0.28895
}

Semantic roles & 50–950 ramp

primary
#628FF6
secondary
#F1E3C3
accent
#A000E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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