#628CD7#628CD7

#628CD7 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.2% C 0.122 H 261.3°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#628CD7
RGBrgb(98, 140, 215)
HSLhsl(218, 59%, 61%)
HSVhsv(218, 54%, 84%)
CMYKcmyk(54.4%, 34.9%, 0%, 15.7%)
CIE-LABlab(58.28, 7.19, -42.83)
CIE-LCHlch(58.28, 43.43, 279.53°)
OKLaboklab(64.25% -0.0184 -0.121)
OKLCHoklch(64.25% 0.122 261.3)
XYZxyz(26.6766, 26.2571, 67.9392)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CD7 #D7AD62
analogous
#62C6D7 #628CD7 #7362D7
triadic
#628CD7 #D7628C #8CD762
tetradic
#628CD7 #D762C6 #D7AD62 #62D773
square
#628CD7 #D762C6 #D7AD62 #62D773
split-complementary
#628CD7 #D77362 #C6D762
monochromatic
#274F98 #3369C9 #628CD7 #93B0E3 #C4D3F0

Accessibility & contrast

On white

3.36
#628CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#628CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CD7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CD7#FFFFFF#000000##000000
##628CD71.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E92DA
Deuteranopia (green-blind)
#5F87D5
Tritanopia (blue-blind)
#1C9DA7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #628cd7;
/* rgb */ color: rgb(98, 140, 215);
/* oklch */ color: oklch(64.2% 0.122 261.3);
Tailwind
colors: {
  custom: {
    50: '#96ade3',
    500: '#628cd7',
    950: '#000000',
  },
}
SCSS
$custom: #628cd7;
$custom-light: #96ade3;
$custom-dark: #000000;
JSON
{
  "hex": "#628cd7",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 218.462,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64249,
    "c": 0.12238,
    "h": 261.3
  },
  "luminance": 0.26259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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