#628EF4#628EF4

#628EF4 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.3% C 0.159 H 264.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#628EF4
RGBrgb(98, 142, 244)
HSLhsl(222, 87%, 67%)
HSVhsv(222, 60%, 96%)
CMYKcmyk(59.8%, 41.8%, 0%, 4.3%)
CIE-LABlab(60.31, 15.36, -55.73)
CIE-LCHlch(60.31, 57.81, 285.41°)
OKLaboklab(66.31% -0.0144 -0.1587)
OKLCHoklch(66.31% 0.159 264.8)
XYZxyz(31.0335, 28.4717, 89.4306)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EF4 #F4C862
analogous
#62D7F4 #628EF4 #7F62F4
triadic
#628EF4 #F4628E #8EF462
tetradic
#628EF4 #F462D7 #F4C862 #62F47F
square
#628EF4 #F462D7 #F4C862 #62F47F
split-complementary
#628EF4 #F47F62 #D7F462
monochromatic
#0E48CD #2965F0 #628EF4 #9BB7F8 #D4E0FC

Accessibility & contrast

On white

3.14
#628EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#628EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EF4
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EF4#FFFFFF#000000##000000
##628EF41.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099F8
Deuteranopia (green-blind)
#4C8BF2
Tritanopia (blue-blind)
#00A5B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628ef4;
/* rgb */ color: rgb(98, 142, 244);
/* oklch */ color: oklch(66.3% 0.159 264.8);
Tailwind
colors: {
  custom: {
    50: '#9aaef8',
    500: '#628ef4',
    950: '#000000',
  },
}
SCSS
$custom: #628ef4;
$custom-light: #9aaef8;
$custom-dark: #000000;
JSON
{
  "hex": "#628ef4",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 221.918,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66307,
    "c": 0.15933,
    "h": 264.8
  },
  "luminance": 0.28474
}

Semantic roles & 50–950 ramp

primary
#628EF4
secondary
#F0E2C2
accent
#A002E3
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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