#628CD6#628CD6

#628CD6 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.2% C 0.121 H 261.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#628CD6
RGBrgb(98, 140, 214)
HSLhsl(218, 59%, 61%)
HSVhsv(218, 54%, 84%)
CMYKcmyk(54.2%, 34.6%, 0%, 16.1%)
CIE-LABlab(58.23, 6.88, -42.35)
CIE-LCHlch(58.23, 42.90, 279.22°)
OKLaboklab(64.2% -0.0187 -0.1196)
OKLCHoklch(64.2% 0.121 261.1)
XYZxyz(26.5485, 26.2058, 67.2645)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CD6 #D6AC62
analogous
#62C6D6 #628CD6 #7262D6
triadic
#628CD6 #D6628C #8CD662
tetradic
#628CD6 #D662C6 #D6AC62 #62D672
square
#628CD6 #D662C6 #D6AC62 #62D672
split-complementary
#628CD6 #D67262 #C6D662
monochromatic
#274F96 #3469C7 #628CD6 #93B0E3 #C3D3EF

Accessibility & contrast

On white

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

On black

6.24
#628CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CD6
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CD6#FFFFFF#000000##000000
##628CD61.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E92D9
Deuteranopia (green-blind)
#6087D4
Tritanopia (blue-blind)
#1E9CA7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #628cd6;
/* rgb */ color: rgb(98, 140, 214);
/* oklch */ color: oklch(64.2% 0.121 261.1);
Tailwind
colors: {
  custom: {
    50: '#96ade3',
    500: '#628cd6',
    950: '#000000',
  },
}
SCSS
$custom: #628cd6;
$custom-light: #96ade3;
$custom-dark: #000000;
JSON
{
  "hex": "#628cd6",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 214
  },
  "hsl": {
    "h": 218.276,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64196,
    "c": 0.12103,
    "h": 261.1
  },
  "luminance": 0.26208
}

Semantic roles & 50–950 ramp

primary
#628CD6
secondary
#E0D0B4
accent
#8A1FC6
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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