#628DCA#628DCA

#628DCA is a light, moderate blue. Relative luminance 0.259; OKLCH L 63.8% C 0.104 H 257.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#628DCA
RGBrgb(98, 141, 202)
HSLhsl(215, 50%, 59%)
HSVhsv(215, 51%, 79%)
CMYKcmyk(51.5%, 30.2%, 0%, 20.8%)
CIE-LABlab(57.95, 2.54, -36.05)
CIE-LCHlch(57.95, 36.13, 274.03°)
OKLaboklab(63.79% -0.023 -0.1013)
OKLCHoklch(63.79% 0.104 257.2)
XYZxyz(25.2189, 25.9088, 59.5376)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628DCA #CA9F62
analogous
#62C1CA #628DCA #6B62CA
triadic
#628DCA #CA628D #8DCA62
tetradic
#628DCA #CA62C1 #CA9F62 #62CA6B
square
#628DCA #CA62C1 #CA9F62 #62CA6B
split-complementary
#628DCA #CA6B62 #C1CA62
monochromatic
#2D5185 #3C6DB3 #628DCA #90AED9 #BECFE9

Accessibility & contrast

On white

3.40
#628DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#628DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628DCA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628DCA#FFFFFF#000000##000000
##628DCA1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CD
Deuteranopia (green-blind)
#6887C9
Tritanopia (blue-blind)
#2E9BA3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #628dca;
/* rgb */ color: rgb(98, 141, 202);
/* oklch */ color: oklch(63.8% 0.104 257.2);
Tailwind
colors: {
  custom: {
    50: '#95aeda',
    500: '#628dca',
    950: '#000000',
  },
}
SCSS
$custom: #628dca;
$custom-light: #95aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#628dca",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 215.192,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63793,
    "c": 0.10385,
    "h": 257.2
  },
  "luminance": 0.25911
}

Semantic roles & 50–950 ramp

primary
#628DCA
secondary
#D8C7AF
accent
#A04FD9
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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