#628CE4#628CE4

#628CE4 is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.0% C 0.140 H 263.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#628CE4
RGBrgb(98, 140, 228)
HSLhsl(221, 71%, 64%)
HSVhsv(221, 57%, 89%)
CMYKcmyk(57%, 38.6%, 0%, 10.6%)
CIE-LABlab(58.93, 11.35, -49.06)
CIE-LCHlch(58.93, 50.36, 283.03°)
OKLaboklab(64.96% -0.0154 -0.1392)
OKLCHoklch(64.96% 0.14 263.7)
XYZxyz(28.4139, 26.9520, 77.0887)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CE4 #E4BA62
analogous
#62CDE4 #628CE4 #7962E4
triadic
#628CE4 #E4628C #8CE462
tetradic
#628CE4 #E462CD #E4BA62 #62E479
square
#628CE4 #E462CD #E4BA62 #62E479
split-complementary
#628CE4 #E47962 #CDE462
monochromatic
#1E4CAE #2E66DB #628CE4 #96B2ED #CAD9F6

Accessibility & contrast

On white

3.29
#628CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#628CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CE4
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CE4#FFFFFF#000000##000000
##628CE41.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6794E8
Deuteranopia (green-blind)
#5688E2
Tritanopia (blue-blind)
#009FAD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #628ce4;
/* rgb */ color: rgb(98, 140, 228);
/* oklch */ color: oklch(65.0% 0.140 263.7);
Tailwind
colors: {
  custom: {
    50: '#98aded',
    500: '#628ce4',
    950: '#000000',
  },
}
SCSS
$custom: #628ce4;
$custom-light: #98aded;
$custom-dark: #000000;
JSON
{
  "hex": "#628ce4",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 228
  },
  "hsl": {
    "h": 220.615,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64965,
    "c": 0.14003,
    "h": 263.7
  },
  "luminance": 0.26954
}

Semantic roles & 50–950 ramp

primary
#628CE4
secondary
#E8D9BA
accent
#9513D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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