#628AED#628AED

#628AED is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.1% C 0.155 H 265.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#628AED
RGBrgb(98, 138, 237)
HSLhsl(223, 79%, 66%)
HSVhsv(223, 59%, 93%)
CMYKcmyk(58.6%, 41.8%, 0%, 7.1%)
CIE-LABlab(58.87, 15.46, -54.16)
CIE-LCHlch(58.87, 56.32, 285.93°)
OKLaboklab(65.07% -0.0115 -0.1541)
OKLCHoklch(65.07% 0.155 265.7)
XYZxyz(29.4063, 26.8856, 83.7441)
Luminance0.2689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AED #EDC562
analogous
#62CFED #628AED #7F62ED
triadic
#628AED #ED628A #8AED62
tetradic
#628AED #ED62CF #EDC562 #62ED7F
square
#628AED #ED62CF #EDC562 #62ED7F
split-complementary
#628AED #ED7F62 #CFED62
monochromatic
#1646BF #2B61E7 #628AED #99B3F3 #D0DCFA

Accessibility & contrast

On white

3.29
#628AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#628AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AED
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AED#FFFFFF#000000##000000
##628AED1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F1
Deuteranopia (green-blind)
#4B88EB
Tritanopia (blue-blind)
#00A0B0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #628aed;
/* rgb */ color: rgb(98, 138, 237);
/* oklch */ color: oklch(65.1% 0.155 265.7);
Tailwind
colors: {
  custom: {
    50: '#99abf3',
    500: '#628aed',
    950: '#000000',
  },
}
SCSS
$custom: #628aed;
$custom-light: #99abf3;
$custom-dark: #000000;
JSON
{
  "hex": "#628aed",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 222.734,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65073,
    "c": 0.15456,
    "h": 265.7
  },
  "luminance": 0.26888
}

Semantic roles & 50–950 ramp

primary
#628AED
secondary
#EDDFBE
accent
#9F0ADC
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628AED

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

Preview Lab → · Contrast checker → · Palette generator →

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