#628BD2#628BD2

#628BD2 is a light, moderate blue. Relative luminance 0.257; OKLCH L 63.8% C 0.117 H 260.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#628BD2
RGBrgb(98, 139, 210)
HSLhsl(218, 55%, 60%)
HSVhsv(218, 53%, 82%)
CMYKcmyk(53.3%, 33.8%, 0%, 17.6%)
CIE-LABlab(57.76, 6.21, -40.84)
CIE-LCHlch(57.76, 41.31, 278.64°)
OKLaboklab(63.77% -0.0185 -0.1152)
OKLCHoklch(63.77% 0.117 260.9)
XYZxyz(25.8985, 25.7131, 64.5586)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BD2 #D2A962
analogous
#62C3D2 #628BD2 #7162D2
triadic
#628BD2 #D2628B #8BD262
tetradic
#628BD2 #D262C3 #D2A962 #62D271
square
#628BD2 #D262C3 #D2A962 #62D271
split-complementary
#628BD2 #D27162 #C3D262
monochromatic
#294F90 #3769C0 #628BD2 #92AEE0 #C1D1ED

Accessibility & contrast

On white

3.42
#628BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#628BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BD2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BD2#FFFFFF#000000##000000
##628BD21.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F90D5
Deuteranopia (green-blind)
#6186D0
Tritanopia (blue-blind)
#259BA5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #628bd2;
/* rgb */ color: rgb(98, 139, 210);
/* oklch */ color: oklch(63.8% 0.117 260.9);
Tailwind
colors: {
  custom: {
    50: '#96ace0',
    500: '#628bd2',
    950: '#000000',
  },
}
SCSS
$custom: #628bd2;
$custom-light: #96ace0;
$custom-dark: #000000;
JSON
{
  "hex": "#628bd2",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 218.036,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63769,
    "c": 0.11668,
    "h": 260.9
  },
  "luminance": 0.25715
}

Semantic roles & 50–950 ramp

primary
#628BD2
secondary
#DDCEB3
accent
#8823C3
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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