#628AD7#628AD7

#628AD7 is a light, vivid blue. Relative luminance 0.257; OKLCH L 63.8% C 0.125 H 262.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#628AD7
RGBrgb(98, 138, 215)
HSLhsl(219, 59%, 61%)
HSVhsv(219, 54%, 84%)
CMYKcmyk(54.4%, 35.8%, 0%, 15.7%)
CIE-LABlab(57.73, 8.38, -43.70)
CIE-LCHlch(57.73, 44.50, 280.85°)
OKLaboklab(63.82% -0.0162 -0.1235)
OKLCHoklch(63.82% 0.125 262.5)
XYZxyz(26.3871, 25.6779, 67.8426)
Luminance0.2568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AD7 #D7AF62
analogous
#62C5D7 #628AD7 #7562D7
triadic
#628AD7 #D7628A #8AD762
tetradic
#628AD7 #D762C5 #D7AF62 #62D775
square
#628AD7 #D762C5 #D7AF62 #62D775
split-complementary
#628AD7 #D77562 #C5D762
monochromatic
#274D98 #3366C9 #628AD7 #93AEE3 #C4D3F0

Accessibility & contrast

On white

3.42
#628AD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#628AD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AD7
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AD7#FFFFFF#000000##000000
##628AD71.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B91DA
Deuteranopia (green-blind)
#5D86D5
Tritanopia (blue-blind)
#1D9BA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #628ad7;
/* rgb */ color: rgb(98, 138, 215);
/* oklch */ color: oklch(63.8% 0.125 262.5);
Tailwind
colors: {
  custom: {
    50: '#96abe3',
    500: '#628ad7',
    950: '#000000',
  },
}
SCSS
$custom: #628ad7;
$custom-light: #96abe3;
$custom-dark: #000000;
JSON
{
  "hex": "#628ad7",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 215
  },
  "hsl": {
    "h": 219.487,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63822,
    "c": 0.12458,
    "h": 262.5
  },
  "luminance": 0.2568
}

Semantic roles & 50–950 ramp

primary
#628AD7
secondary
#E0D1B5
accent
#8D1EC7
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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