#628AD9#628AD9

#628AD9 is a light, vivid blue. Relative luminance 0.258; OKLCH L 63.9% C 0.127 H 262.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#628AD9
RGBrgb(98, 138, 217)
HSLhsl(220, 61%, 62%)
HSVhsv(220, 55%, 85%)
CMYKcmyk(54.8%, 36.4%, 0%, 14.9%)
CIE-LABlab(57.83, 9.01, -44.67)
CIE-LCHlch(57.83, 45.57, 281.41°)
OKLaboklab(63.93% -0.0157 -0.1263)
OKLCHoklch(63.93% 0.127 262.9)
XYZxyz(26.6456, 25.7813, 69.2043)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AD9 #D9B162
analogous
#62C6D9 #628AD9 #7662D9
triadic
#628AD9 #D9628A #8AD962
tetradic
#628AD9 #D962C6 #D9B162 #62D976
square
#628AD9 #D962C6 #D9B162 #62D976
split-complementary
#628AD9 #D97662 #C6D962
monochromatic
#264D9B #3166CC #628AD9 #93AFE5 #C5D3F1

Accessibility & contrast

On white

3.41
#628AD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#628AD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AD9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AD9#FFFFFF#000000##000000
##628AD91.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A91DC
Deuteranopia (green-blind)
#5B86D7
Tritanopia (blue-blind)
#199BA7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #628ad9;
/* rgb */ color: rgb(98, 138, 217);
/* oklch */ color: oklch(63.9% 0.127 262.9);
Tailwind
colors: {
  custom: {
    50: '#96abe5',
    500: '#628ad9',
    950: '#000000',
  },
}
SCSS
$custom: #628ad9;
$custom-light: #96abe5;
$custom-dark: #000000;
JSON
{
  "hex": "#628ad9",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 217
  },
  "hsl": {
    "h": 219.832,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63931,
    "c": 0.12732,
    "h": 262.9
  },
  "luminance": 0.25783
}

Semantic roles & 50–950 ramp

primary
#628AD9
secondary
#E1D3B5
accent
#8F1DC9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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