#628AE4#628AE4

#628AE4 is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.5% C 0.142 H 264.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#628AE4
RGBrgb(98, 138, 228)
HSLhsl(222, 71%, 64%)
HSVhsv(222, 57%, 89%)
CMYKcmyk(57%, 39.5%, 0%, 10.6%)
CIE-LABlab(58.39, 12.54, -49.92)
CIE-LCHlch(58.39, 51.47, 284.10°)
OKLaboklab(64.55% -0.0133 -0.1417)
OKLCHoklch(64.55% 0.142 264.7)
XYZxyz(28.1243, 26.3728, 76.9921)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AE4 #E4BC62
analogous
#62CBE4 #628AE4 #7B62E4
triadic
#628AE4 #E4628A #8AE462
tetradic
#628AE4 #E462CB #E4BC62 #62E47B
square
#628AE4 #E462CB #E4BC62 #62E47B
split-complementary
#628AE4 #E47B62 #CBE462
monochromatic
#1E4AAE #2E63DB #628AE4 #96B1ED #CAD8F6

Accessibility & contrast

On white

3.35
#628AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#628AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AE4
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AE4#FFFFFF#000000##000000
##628AE41.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6493E8
Deuteranopia (green-blind)
#5387E2
Tritanopia (blue-blind)
#009EAC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #628ae4;
/* rgb */ color: rgb(98, 138, 228);
/* oklch */ color: oklch(64.5% 0.142 264.7);
Tailwind
colors: {
  custom: {
    50: '#98abed',
    500: '#628ae4',
    950: '#000000',
  },
}
SCSS
$custom: #628ae4;
$custom-light: #98abed;
$custom-dark: #000000;
JSON
{
  "hex": "#628ae4",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 228
  },
  "hsl": {
    "h": 221.538,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64548,
    "c": 0.14233,
    "h": 264.7
  },
  "luminance": 0.26375
}

Semantic roles & 50–950 ramp

primary
#628AE4
secondary
#E8DABA
accent
#9813D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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