#628AEA#628AEA

#628AEA is a light, vivid blue. Relative luminance 0.267; OKLCH L 64.9% C 0.150 H 265.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#628AEA
RGBrgb(98, 138, 234)
HSLhsl(222, 76%, 65%)
HSVhsv(222, 58%, 92%)
CMYKcmyk(58.1%, 41%, 0%, 8.2%)
CIE-LABlab(58.71, 14.49, -52.75)
CIE-LCHlch(58.71, 54.71, 285.36°)
OKLaboklab(64.9% -0.0121 -0.15)
OKLCHoklch(64.9% 0.151 265.4)
XYZxyz(28.9717, 26.7118, 81.4551)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AEA #EAC262
analogous
#62CEEA #628AEA #7E62EA
triadic
#628AEA #EA628A #8AEA62
tetradic
#628AEA #EA62CE #EAC262 #62EA7E
square
#628AEA #EA62CE #EAC262 #62EA7E
split-complementary
#628AEA #EA7E62 #CEEA62
monochromatic
#1948B9 #2C62E3 #628AEA #98B2F1 #CEDAF8

Accessibility & contrast

On white

3.31
#628AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#628AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AEA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AEA#FFFFFF#000000##000000
##628AEA1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EE
Deuteranopia (green-blind)
#4E87E8
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #628aea;
/* rgb */ color: rgb(98, 138, 234);
/* oklch */ color: oklch(64.9% 0.150 265.4);
Tailwind
colors: {
  custom: {
    50: '#99abf1',
    500: '#628aea',
    950: '#000000',
  },
}
SCSS
$custom: #628aea;
$custom-light: #99abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#628aea",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 234
  },
  "hsl": {
    "h": 222.353,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64896,
    "c": 0.1505,
    "h": 265.4
  },
  "luminance": 0.26714
}

Semantic roles & 50–950 ramp

primary
#628AEA
secondary
#EBDDBD
accent
#9D0DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #628AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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