#628AC7#628AC7

#628AC7 is a light, moderate blue. Relative luminance 0.249; OKLCH L 63.0% C 0.103 H 258.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#628AC7
RGBrgb(98, 138, 199)
HSLhsl(216, 47%, 58%)
HSVhsv(216, 51%, 78%)
CMYKcmyk(50.8%, 30.7%, 0%, 22%)
CIE-LABlab(56.97, 3.37, -35.88)
CIE-LCHlch(56.97, 36.04, 275.36°)
OKLaboklab(62.99% -0.0203 -0.1008)
OKLCHoklch(62.99% 0.103 258.6)
XYZxyz(24.4308, 24.8954, 57.5397)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AC7 #C79F62
analogous
#62BCC7 #628AC7 #6C62C7
triadic
#628AC7 #C7628A #8AC762
tetradic
#628AC7 #C762BC #C79F62 #62C76C
square
#628AC7 #C762BC #C79F62 #62C76C
split-complementary
#628AC7 #C76C62 #BCC762
monochromatic
#2E4F81 #3E6AAE #628AC7 #8FACD7 #BCCDE7

Accessibility & contrast

On white

3.51
#628AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#628AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AC7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AC7#FFFFFF#000000##000000
##628AC71.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ECA
Deuteranopia (green-blind)
#6684C6
Tritanopia (blue-blind)
#3297A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #628ac7;
/* rgb */ color: rgb(98, 138, 199);
/* oklch */ color: oklch(63.0% 0.103 258.6);
Tailwind
colors: {
  custom: {
    50: '#94abd8',
    500: '#628ac7',
    950: '#000000',
  },
}
SCSS
$custom: #628ac7;
$custom-light: #94abd8;
$custom-dark: #000000;
JSON
{
  "hex": "#628ac7",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 199
  },
  "hsl": {
    "h": 216.238,
    "s": 47.418,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62985,
    "c": 0.10283,
    "h": 258.6
  },
  "luminance": 0.24897
}

Semantic roles & 50–950 ramp

primary
#628AC7
secondary
#D7C7AE
accent
#A251D7
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E1014
muted
#7E7F83

Preview Lab

Preview with #628AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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