#628FF2#628FF2

#628FF2 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.4% C 0.155 H 264.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#628FF2
RGBrgb(98, 143, 242)
HSLhsl(221, 85%, 67%)
HSVhsv(221, 60%, 95%)
CMYKcmyk(59.5%, 40.9%, 0%, 5.1%)
CIE-LABlab(60.47, 14.12, -54.37)
CIE-LCHlch(60.47, 56.17, 284.55°)
OKLaboklab(66.4% -0.0157 -0.1547)
OKLCHoklch(66.4% 0.156 264.2)
XYZxyz(30.8810, 28.6498, 87.8898)
Luminance0.2865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FF2 #F2C562
analogous
#62D7F2 #628FF2 #7D62F2
triadic
#628FF2 #F2628F #8FF262
tetradic
#628FF2 #F262D7 #F2C562 #62F27D
square
#628FF2 #F262D7 #F2C562 #62F27D
split-complementary
#628FF2 #F27D62 #D7F262
monochromatic
#114AC9 #2967ED #628FF2 #9BB7F7 #D3E0FB

Accessibility & contrast

On white

3.12
#628FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#628FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FF2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FF2#FFFFFF#000000##000000
##628FF21.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#4F8CF0
Tritanopia (blue-blind)
#00A5B5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #628ff2;
/* rgb */ color: rgb(98, 143, 242);
/* oklch */ color: oklch(66.4% 0.155 264.2);
Tailwind
colors: {
  custom: {
    50: '#9aaff7',
    500: '#628ff2',
    950: '#000000',
  },
}
SCSS
$custom: #628ff2;
$custom-light: #9aaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#628ff2",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 221.25,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66395,
    "c": 0.1555,
    "h": 264.2
  },
  "luminance": 0.28652
}

Semantic roles & 50–950 ramp

primary
#628FF2
secondary
#EFE1C1
accent
#9C04E1
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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