#628FE4#628FE4

#628FE4 is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.6% C 0.137 H 262.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#628FE4
RGBrgb(98, 143, 228)
HSLhsl(219, 71%, 64%)
HSVhsv(219, 57%, 89%)
CMYKcmyk(57%, 37.3%, 0%, 10.6%)
CIE-LABlab(59.74, 9.57, -47.77)
CIE-LCHlch(59.74, 48.72, 281.33°)
OKLaboklab(65.6% -0.0187 -0.1354)
OKLCHoklch(65.6% 0.137 262.2)
XYZxyz(28.8582, 27.8407, 77.2368)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FE4 #E4B762
analogous
#62D0E4 #628FE4 #7662E4
triadic
#628FE4 #E4628F #8FE462
tetradic
#628FE4 #E462D0 #E4B762 #62E476
square
#628FE4 #E462D0 #E4B762 #62E476
split-complementary
#628FE4 #E47662 #D0E462
monochromatic
#1E50AE #2E6ADB #628FE4 #96B4ED #CADAF6

Accessibility & contrast

On white

3.20
#628FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#628FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FE4
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FE4#FFFFFF#000000##000000
##628FE41.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C96E7
Deuteranopia (green-blind)
#5B8AE2
Tritanopia (blue-blind)
#00A2AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #628fe4;
/* rgb */ color: rgb(98, 143, 228);
/* oklch */ color: oklch(65.6% 0.137 262.2);
Tailwind
colors: {
  custom: {
    50: '#98afed',
    500: '#628fe4',
    950: '#000000',
  },
}
SCSS
$custom: #628fe4;
$custom-light: #98afed;
$custom-dark: #000000;
JSON
{
  "hex": "#628fe4",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 228
  },
  "hsl": {
    "h": 219.231,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65596,
    "c": 0.13666,
    "h": 262.2
  },
  "luminance": 0.27843
}

Semantic roles & 50–950 ramp

primary
#628FE4
secondary
#E8D8BA
accent
#9013D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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