#628AE7#628AE7

#628AE7 is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.7% C 0.146 H 265.0°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#628AE7
RGBrgb(98, 138, 231)
HSLhsl(222, 73%, 65%)
HSVhsv(222, 58%, 91%)
CMYKcmyk(57.6%, 40.3%, 0%, 9.4%)
CIE-LABlab(58.55, 13.51, -51.34)
CIE-LCHlch(58.55, 53.09, 284.75°)
OKLaboklab(64.72% -0.0127 -0.1459)
OKLCHoklch(64.72% 0.146 265)
XYZxyz(28.5444, 26.5408, 79.2045)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AE7 #E7BF62
analogous
#62CDE7 #628AE7 #7D62E7
triadic
#628AE7 #E7628A #8AE762
tetradic
#628AE7 #E762CD #E7BF62 #62E77D
square
#628AE7 #E762CD #E7BF62 #62E77D
split-complementary
#628AE7 #E77D62 #CDE762
monochromatic
#1B49B3 #2D62DF #628AE7 #97B2EF #CCD9F7

Accessibility & contrast

On white

3.33
#628AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#628AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AE7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AE7#FFFFFF#000000##000000
##628AE71.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6293EB
Deuteranopia (green-blind)
#5187E5
Tritanopia (blue-blind)
#009FAD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #628ae7;
/* rgb */ color: rgb(98, 138, 231);
/* oklch */ color: oklch(64.7% 0.146 265.0);
Tailwind
colors: {
  custom: {
    50: '#98abef',
    500: '#628ae7',
    950: '#000000',
  },
}
SCSS
$custom: #628ae7;
$custom-light: #98abef;
$custom-dark: #000000;
JSON
{
  "hex": "#628ae7",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 231
  },
  "hsl": {
    "h": 221.955,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6472,
    "c": 0.14642,
    "h": 265
  },
  "luminance": 0.26543
}

Semantic roles & 50–950 ramp

primary
#628AE7
secondary
#E9DCBB
accent
#9A10D6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1016
muted
#7E7F84

Preview Lab

Preview with #628AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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