#628CD5#628CD5

#628CD5 is a light, moderate blue. Relative luminance 0.262; OKLCH L 64.1% C 0.120 H 260.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#628CD5
RGBrgb(98, 140, 213)
HSLhsl(218, 58%, 61%)
HSVhsv(218, 54%, 84%)
CMYKcmyk(54%, 34.3%, 0%, 16.5%)
CIE-LABlab(58.18, 6.56, -41.86)
CIE-LCHlch(58.18, 42.38, 278.91°)
OKLaboklab(64.14% -0.0189 -0.1182)
OKLCHoklch(64.14% 0.12 260.9)
XYZxyz(26.4212, 26.1549, 66.5940)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CD5 #D5AB62
analogous
#62C5D5 #628CD5 #7162D5
triadic
#628CD5 #D5628C #8CD562
tetradic
#628CD5 #D562C5 #D5AB62 #62D571
square
#628CD5 #D562C5 #D5AB62 #62D571
split-complementary
#628CD5 #D57162 #C5D562
monochromatic
#285095 #3569C5 #628CD5 #92AFE2 #C3D3EF

Accessibility & contrast

On white

3.37
#628CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#628CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CD5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CD5#FFFFFF#000000##000000
##628CD51.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F92D8
Deuteranopia (green-blind)
#6187D3
Tritanopia (blue-blind)
#209CA7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #628cd5;
/* rgb */ color: rgb(98, 140, 213);
/* oklch */ color: oklch(64.1% 0.120 260.9);
Tailwind
colors: {
  custom: {
    50: '#96ade2',
    500: '#628cd5',
    950: '#000000',
  },
}
SCSS
$custom: #628cd5;
$custom-light: #96ade2;
$custom-dark: #000000;
JSON
{
  "hex": "#628cd5",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 218.087,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64143,
    "c": 0.11967,
    "h": 260.9
  },
  "luminance": 0.26157
}

Semantic roles & 50–950 ramp

primary
#628CD5
secondary
#DFCFB4
accent
#8920C5
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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