#628FD4#628FD4

#628FD4 is a light, moderate blue. Relative luminance 0.270; OKLCH L 64.7% C 0.115 H 258.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#628FD4
RGBrgb(98, 143, 212)
HSLhsl(216, 57%, 61%)
HSVhsv(216, 54%, 83%)
CMYKcmyk(53.8%, 32.5%, 0%, 16.9%)
CIE-LABlab(58.97, 4.48, -40.07)
CIE-LCHlch(58.97, 40.32, 276.38°)
OKLaboklab(64.74% -0.0226 -0.1129)
OKLCHoklch(64.74% 0.115 258.7)
XYZxyz(26.7390, 26.9930, 66.0757)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FD4 #D4A762
analogous
#62C8D4 #628FD4 #6E62D4
triadic
#628FD4 #D4628F #8FD462
tetradic
#628FD4 #D462C8 #D4A762 #62D46E
square
#628FD4 #D462C8 #D4A762 #62D46E
split-complementary
#628FD4 #D46E62 #C8D462
monochromatic
#285393 #356DC3 #628FD4 #92B1E1 #C2D4EE

Accessibility & contrast

On white

3.28
#628FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#628FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FD4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FD4#FFFFFF#000000##000000
##628FD41.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7394D7
Deuteranopia (green-blind)
#6589D3
Tritanopia (blue-blind)
#209EA8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #628fd4;
/* rgb */ color: rgb(98, 143, 212);
/* oklch */ color: oklch(64.7% 0.115 258.7);
Tailwind
colors: {
  custom: {
    50: '#96afe1',
    500: '#628fd4',
    950: '#000000',
  },
}
SCSS
$custom: #628fd4;
$custom-light: #96afe1;
$custom-dark: #000000;
JSON
{
  "hex": "#628fd4",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 212
  },
  "hsl": {
    "h": 216.316,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64738,
    "c": 0.11517,
    "h": 258.7
  },
  "luminance": 0.26995
}

Semantic roles & 50–950 ramp

primary
#628FD4
secondary
#DECDB3
accent
#8421C5
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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