#628CE7#628CE7

#628CE7 is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.1% C 0.144 H 264.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#628CE7
RGBrgb(98, 140, 231)
HSLhsl(221, 73%, 65%)
HSVhsv(221, 58%, 91%)
CMYKcmyk(57.6%, 39.4%, 0%, 9.4%)
CIE-LABlab(59.09, 12.32, -50.49)
CIE-LCHlch(59.09, 51.97, 283.71°)
OKLaboklab(65.14% -0.0148 -0.1433)
OKLCHoklch(65.14% 0.144 264.1)
XYZxyz(28.8340, 27.1200, 79.3010)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CE7 #E7BD62
analogous
#62CEE7 #628CE7 #7B62E7
triadic
#628CE7 #E7628C #8CE762
tetradic
#628CE7 #E762CE #E7BD62 #62E77B
square
#628CE7 #E762CE #E7BD62 #62E77B
split-complementary
#628CE7 #E77B62 #CEE762
monochromatic
#1B4BB3 #2D65DF #628CE7 #97B3EF #CCDAF7

Accessibility & contrast

On white

3.27
#628CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#628CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CE7
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CE7#FFFFFF#000000##000000
##628CE71.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EB
Deuteranopia (green-blind)
#5489E5
Tritanopia (blue-blind)
#00A0AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #628ce7;
/* rgb */ color: rgb(98, 140, 231);
/* oklch */ color: oklch(65.1% 0.144 264.1);
Tailwind
colors: {
  custom: {
    50: '#98adef',
    500: '#628ce7',
    950: '#000000',
  },
}
SCSS
$custom: #628ce7;
$custom-light: #98adef;
$custom-dark: #000000;
JSON
{
  "hex": "#628ce7",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 221.053,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65136,
    "c": 0.1441,
    "h": 264.1
  },
  "luminance": 0.27122
}

Semantic roles & 50–950 ramp

primary
#628CE7
secondary
#E9DBBB
accent
#9710D6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1016
muted
#7E7F84

Preview Lab

Preview with #628CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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