#628CE8#628CE8

#628CE8 is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.2% C 0.145 H 264.2°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#628CE8
RGBrgb(98, 140, 232)
HSLhsl(221, 74%, 65%)
HSVhsv(221, 58%, 91%)
CMYKcmyk(57.8%, 39.7%, 0%, 9%)
CIE-LABlab(59.14, 12.64, -50.96)
CIE-LCHlch(59.14, 52.50, 283.94°)
OKLaboklab(65.19% -0.0146 -0.1447)
OKLCHoklch(65.19% 0.145 264.2)
XYZxyz(28.9756, 27.1767, 80.0470)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CE8 #E8BE62
analogous
#62CFE8 #628CE8 #7B62E8
triadic
#628CE8 #E8628C #8CE862
tetradic
#628CE8 #E862CF #E8BE62 #62E87B
square
#628CE8 #E862CF #E8BE62 #62E87B
split-complementary
#628CE8 #E87B62 #CFE862
monochromatic
#1B4BB5 #2D65E0 #628CE8 #97B3F0 #CDDAF8

Accessibility & contrast

On white

3.26
#628CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#628CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CE8
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CE8#FFFFFF#000000##000000
##628CE81.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EC
Deuteranopia (green-blind)
#5389E6
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #628ce8;
/* rgb */ color: rgb(98, 140, 232);
/* oklch */ color: oklch(65.2% 0.145 264.2);
Tailwind
colors: {
  custom: {
    50: '#98adf0',
    500: '#628ce8',
    950: '#000000',
  },
}
SCSS
$custom: #628ce8;
$custom-light: #98adf0;
$custom-dark: #000000;
JSON
{
  "hex": "#628ce8",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 232
  },
  "hsl": {
    "h": 221.194,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65193,
    "c": 0.14546,
    "h": 264.2
  },
  "luminance": 0.27179
}

Semantic roles & 50–950 ramp

primary
#628CE8
secondary
#EADBBC
accent
#980FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1016
muted
#7E7F84

Preview Lab

Preview with #628CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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