#628AE1#628AE1

#628AE1 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.4% C 0.138 H 264.2°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#628AE1
RGBrgb(98, 138, 225)
HSLhsl(221, 68%, 63%)
HSVhsv(221, 56%, 88%)
CMYKcmyk(56.4%, 38.7%, 0%, 11.8%)
CIE-LABlab(58.23, 11.57, -48.50)
CIE-LCHlch(58.23, 49.86, 283.42°)
OKLaboklab(64.38% -0.0139 -0.1375)
OKLCHoklch(64.38% 0.138 264.2)
XYZxyz(27.7115, 26.2077, 74.8178)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AE1 #E1B962
analogous
#62CAE1 #628AE1 #7962E1
triadic
#628AE1 #E1628A #8AE162
tetradic
#628AE1 #E162CA #E1B962 #62E179
square
#628AE1 #E162CA #E1B962 #62E179
split-complementary
#628AE1 #E17962 #CAE162
monochromatic
#204BA8 #2F64D7 #628AE1 #95B0EB #C9D7F5

Accessibility & contrast

On white

3.36
#628AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#628AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AE1
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AE1#FFFFFF#000000##000000
##628AE11.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6692E4
Deuteranopia (green-blind)
#5687DF
Tritanopia (blue-blind)
#009DAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #628ae1;
/* rgb */ color: rgb(98, 138, 225);
/* oklch */ color: oklch(64.4% 0.138 264.2);
Tailwind
colors: {
  custom: {
    50: '#97abeb',
    500: '#628ae1',
    950: '#000000',
  },
}
SCSS
$custom: #628ae1;
$custom-light: #97abeb;
$custom-dark: #000000;
JSON
{
  "hex": "#628ae1",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 225
  },
  "hsl": {
    "h": 221.102,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64377,
    "c": 0.13824,
    "h": 264.2
  },
  "luminance": 0.2621
}

Semantic roles & 50–950 ramp

primary
#628AE1
secondary
#E6D8B9
accent
#9516D0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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