#628ED7#628ED7

#628ED7 is a light, vivid blue. Relative luminance 0.268; OKLCH L 64.7% C 0.120 H 260.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#628ED7
RGBrgb(98, 142, 215)
HSLhsl(217, 59%, 61%)
HSVhsv(217, 54%, 84%)
CMYKcmyk(54.4%, 34%, 0%, 15.7%)
CIE-LABlab(58.83, 6.01, -41.96)
CIE-LCHlch(58.83, 42.39, 278.16°)
OKLaboklab(64.68% -0.0207 -0.1184)
OKLCHoklch(64.68% 0.12 260.1)
XYZxyz(26.9715, 26.8469, 68.0375)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628ED7 #D7AB62
analogous
#62C9D7 #628ED7 #7162D7
triadic
#628ED7 #D7628E #8ED762
tetradic
#628ED7 #D762C9 #D7AB62 #62D771
square
#628ED7 #D762C9 #D7AB62 #62D771
split-complementary
#628ED7 #D77162 #C9D762
monochromatic
#275198 #336BC9 #628ED7 #93B1E3 #C4D4F0

Accessibility & contrast

On white

3.30
#628ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#628ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628ED7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628ED7#FFFFFF#000000##000000
##628ED71.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7194DA
Deuteranopia (green-blind)
#6289D5
Tritanopia (blue-blind)
#1B9EA8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #628ed7;
/* rgb */ color: rgb(98, 142, 215);
/* oklch */ color: oklch(64.7% 0.120 260.1);
Tailwind
colors: {
  custom: {
    50: '#96aee3',
    500: '#628ed7',
    950: '#000000',
  },
}
SCSS
$custom: #628ed7;
$custom-light: #96aee3;
$custom-dark: #000000;
JSON
{
  "hex": "#628ed7",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 215
  },
  "hsl": {
    "h": 217.436,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64679,
    "c": 0.12023,
    "h": 260.1
  },
  "luminance": 0.26849
}

Semantic roles & 50–950 ramp

primary
#628ED7
secondary
#E0D0B5
accent
#881EC7
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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