#628EF6#628EF6

#628EF6 is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.4% C 0.162 H 265.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#628EF6
RGBrgb(98, 142, 246)
HSLhsl(222, 89%, 67%)
HSVhsv(222, 60%, 96%)
CMYKcmyk(60.2%, 42.3%, 0%, 3.5%)
CIE-LABlab(60.42, 16.02, -56.66)
CIE-LCHlch(60.42, 58.88, 285.79°)
OKLaboklab(66.43% -0.014 -0.1614)
OKLCHoklch(66.43% 0.162 265)
XYZxyz(31.3388, 28.5938, 91.0386)
Luminance0.2860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EF6 #F6CA62
analogous
#62D8F6 #628EF6 #8062F6
triadic
#628EF6 #F6628E #8EF662
tetradic
#628EF6 #F662D8 #F6CA62 #62F680
square
#628EF6 #F662D8 #F6CA62 #62F680
split-complementary
#628EF6 #F68062 #D8F662
monochromatic
#0C47D2 #2864F3 #628EF6 #9CB8F9 #D6E1FD

Accessibility & contrast

On white

3.13
#628EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#628EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EF6
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EF6#FFFFFF#000000##000000
##628EF61.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FA
Deuteranopia (green-blind)
#4A8BF4
Tritanopia (blue-blind)
#00A5B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #628ef6;
/* rgb */ color: rgb(98, 142, 246);
/* oklch */ color: oklch(66.4% 0.162 265.0);
Tailwind
colors: {
  custom: {
    50: '#9aaefa',
    500: '#628ef6',
    950: '#000000',
  },
}
SCSS
$custom: #628ef6;
$custom-light: #9aaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#628ef6",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 222.162,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66427,
    "c": 0.16202,
    "h": 265
  },
  "luminance": 0.28596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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