#628CC7#628CC7

#628CC7 is a light, moderate blue. Relative luminance 0.255; OKLCH L 63.4% C 0.101 H 257.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#628CC7
RGBrgb(98, 140, 199)
HSLhsl(215, 47%, 58%)
HSVhsv(215, 51%, 78%)
CMYKcmyk(50.8%, 29.6%, 0%, 22%)
CIE-LABlab(57.53, 2.20, -35.00)
CIE-LCHlch(57.53, 35.07, 273.60°)
OKLaboklab(63.42% -0.0227 -0.0982)
OKLCHoklch(63.42% 0.101 257)
XYZxyz(24.7204, 25.4746, 57.6362)
Luminance0.2548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CC7 #C79D62
analogous
#62BEC7 #628CC7 #6A62C7
triadic
#628CC7 #C7628C #8CC762
tetradic
#628CC7 #C762BE #C79D62 #62C76A
square
#628CC7 #C762BE #C79D62 #62C76A
split-complementary
#628CC7 #C76A62 #BEC762
monochromatic
#2E5081 #3E6CAE #628CC7 #8FADD7 #BCCEE7

Accessibility & contrast

On white

3.45
#628CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#628CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CC7
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CC7#FFFFFF#000000##000000
##628CC71.003.456.106.10
#FFFFFF3.451.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7590CA
Deuteranopia (green-blind)
#6986C6
Tritanopia (blue-blind)
#3199A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #628cc7;
/* rgb */ color: rgb(98, 140, 199);
/* oklch */ color: oklch(63.4% 0.101 257.0);
Tailwind
colors: {
  custom: {
    50: '#94add8',
    500: '#628cc7',
    950: '#000000',
  },
}
SCSS
$custom: #628cc7;
$custom-light: #94add8;
$custom-dark: #000000;
JSON
{
  "hex": "#628cc7",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 199
  },
  "hsl": {
    "h": 215.05,
    "s": 47.418,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63424,
    "c": 0.10084,
    "h": 257
  },
  "luminance": 0.25476
}

Semantic roles & 50–950 ramp

primary
#628CC7
secondary
#D7C6AE
accent
#9F51D7
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E1014
muted
#7E7F83

Preview Lab

Preview with #628CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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