#628FD7#628FD7

#628FD7 is a light, moderate blue. Relative luminance 0.271; OKLCH L 64.9% C 0.119 H 259.5°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#628FD7
RGBrgb(98, 143, 215)
HSLhsl(217, 59%, 61%)
HSVhsv(217, 54%, 84%)
CMYKcmyk(54.4%, 33.5%, 0%, 15.7%)
CIE-LABlab(59.11, 5.43, -41.53)
CIE-LCHlch(59.11, 41.88, 277.45°)
OKLaboklab(64.89% -0.0218 -0.1172)
OKLCHoklch(64.89% 0.119 259.5)
XYZxyz(27.1210, 27.1458, 68.0873)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FD7 #D7AA62
analogous
#62CAD7 #628FD7 #7062D7
triadic
#628FD7 #D7628F #8FD762
tetradic
#628FD7 #D762CA #D7AA62 #62D770
square
#628FD7 #D762CA #D7AA62 #62D770
split-complementary
#628FD7 #D77062 #CAD762
monochromatic
#275298 #336DC9 #628FD7 #93B2E3 #C4D5F0

Accessibility & contrast

On white

3.27
#628FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#628FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FD7
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FD7#FFFFFF#000000##000000
##628FD71.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7294DA
Deuteranopia (green-blind)
#6489D5
Tritanopia (blue-blind)
#1B9FA9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #628fd7;
/* rgb */ color: rgb(98, 143, 215);
/* oklch */ color: oklch(64.9% 0.119 259.5);
Tailwind
colors: {
  custom: {
    50: '#96afe3',
    500: '#628fd7',
    950: '#000000',
  },
}
SCSS
$custom: #628fd7;
$custom-light: #96afe3;
$custom-dark: #000000;
JSON
{
  "hex": "#628fd7",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 215
  },
  "hsl": {
    "h": 216.923,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64894,
    "c": 0.11918,
    "h": 259.5
  },
  "luminance": 0.27148
}

Semantic roles & 50–950 ramp

primary
#628FD7
secondary
#E0CFB5
accent
#861EC7
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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