#628BD4#628BD4

#628BD4 is a light, moderate blue. Relative luminance 0.258; OKLCH L 63.9% C 0.119 H 261.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#628BD4
RGBrgb(98, 139, 212)
HSLhsl(218, 57%, 61%)
HSVhsv(218, 54%, 83%)
CMYKcmyk(53.8%, 34.4%, 0%, 16.9%)
CIE-LABlab(57.86, 6.83, -41.81)
CIE-LCHlch(57.86, 42.37, 279.28°)
OKLaboklab(63.88% -0.018 -0.118)
OKLCHoklch(63.88% 0.119 261.3)
XYZxyz(26.1492, 25.8134, 65.8791)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BD4 #D4AB62
analogous
#62C4D4 #628BD4 #7262D4
triadic
#628BD4 #D4628B #8BD462
tetradic
#628BD4 #D462C4 #D4AB62 #62D472
square
#628BD4 #D462C4 #D4AB62 #62D472
split-complementary
#628BD4 #D47262 #C4D462
monochromatic
#284F93 #3568C3 #628BD4 #92AEE1 #C2D2EE

Accessibility & contrast

On white

3.41
#628BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#628BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BD4
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BD4#FFFFFF#000000##000000
##628BD41.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E91D7
Deuteranopia (green-blind)
#6086D2
Tritanopia (blue-blind)
#229BA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #628bd4;
/* rgb */ color: rgb(98, 139, 212);
/* oklch */ color: oklch(63.9% 0.119 261.3);
Tailwind
colors: {
  custom: {
    50: '#96ace1',
    500: '#628bd4',
    950: '#000000',
  },
}
SCSS
$custom: #628bd4;
$custom-light: #96ace1;
$custom-dark: #000000;
JSON
{
  "hex": "#628bd4",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 212
  },
  "hsl": {
    "h": 218.421,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63875,
    "c": 0.1194,
    "h": 261.3
  },
  "luminance": 0.25815
}

Semantic roles & 50–950 ramp

primary
#628BD4
secondary
#DECFB3
accent
#8A21C5
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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