#628DCD#628DCD

#628DCD is a light, moderate blue. Relative luminance 0.261; OKLCH L 63.9% C 0.108 H 258.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#628DCD
RGBrgb(98, 141, 205)
HSLhsl(216, 52%, 59%)
HSVhsv(216, 52%, 80%)
CMYKcmyk(52.2%, 31.2%, 0%, 19.6%)
CIE-LABlab(58.09, 3.47, -37.52)
CIE-LCHlch(58.09, 37.68, 275.28°)
OKLaboklab(63.94% -0.0222 -0.1055)
OKLCHoklch(63.94% 0.108 258.1)
XYZxyz(25.5776, 26.0523, 61.4265)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628DCD #CDA262
analogous
#62C3CD #628DCD #6D62CD
triadic
#628DCD #CD628D #8DCD62
tetradic
#628DCD #CD62C3 #CDA262 #62CD6D
square
#628DCD #CD62C3 #CDA262 #62CD6D
split-complementary
#628DCD #CD6D62 #C3CD62
monochromatic
#2C5189 #3A6DB7 #628DCD #90AFDC #BFD0EB

Accessibility & contrast

On white

3.38
#628DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#628DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628DCD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628DCD#FFFFFF#000000##000000
##628DCD1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491D0
Deuteranopia (green-blind)
#6787CC
Tritanopia (blue-blind)
#2B9BA4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #628dcd;
/* rgb */ color: rgb(98, 141, 205);
/* oklch */ color: oklch(63.9% 0.108 258.1);
Tailwind
colors: {
  custom: {
    50: '#95aedc',
    500: '#628dcd',
    950: '#000000',
  },
}
SCSS
$custom: #628dcd;
$custom-light: #95aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#628dcd",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 215.888,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63944,
    "c": 0.10785,
    "h": 258.1
  },
  "luminance": 0.26054
}

Semantic roles & 50–950 ramp

primary
#628DCD
secondary
#DAC9B1
accent
#A24DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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