#628ED8#628ED8

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

Color values

HEX#628ED8
RGBrgb(98, 142, 216)
HSLhsl(218, 60%, 62%)
HSVhsv(218, 55%, 85%)
CMYKcmyk(54.6%, 34.3%, 0%, 15.3%)
CIE-LABlab(58.88, 6.33, -42.45)
CIE-LCHlch(58.88, 42.92, 278.48°)
OKLaboklab(64.73% -0.0204 -0.1198)
OKLCHoklch(64.73% 0.122 260.3)
XYZxyz(27.1004, 26.8984, 68.7162)
Luminance0.2690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628ED8 #D8AC62
analogous
#62C9D8 #628ED8 #7162D8
triadic
#628ED8 #D8628E #8ED862
tetradic
#628ED8 #D862C9 #D8AC62 #62D871
square
#628ED8 #D862C9 #D8AC62 #62D871
split-complementary
#628ED8 #D87162 #C9D862
monochromatic
#265199 #326BCA #628ED8 #93B1E4 #C4D5F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628ED8#FFFFFF#000000##000000
##628ED81.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)
#7094DB
Deuteranopia (green-blind)
#6289D6
Tritanopia (blue-blind)
#199EA9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #628ed8;
/* rgb */ color: rgb(98, 142, 216);
/* oklch */ color: oklch(64.7% 0.122 260.3);
Tailwind
colors: {
  custom: {
    50: '#96aee4',
    500: '#628ed8',
    950: '#000000',
  },
}
SCSS
$custom: #628ed8;
$custom-light: #96aee4;
$custom-dark: #000000;
JSON
{
  "hex": "#628ed8",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 216
  },
  "hsl": {
    "h": 217.627,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64732,
    "c": 0.12158,
    "h": 260.3
  },
  "luminance": 0.26901
}

Semantic roles & 50–950 ramp

primary
#628ED8
secondary
#E1D0B5
accent
#881EC8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1015
muted
#7E7F84

Preview Lab

Preview with #628ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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