#628BC7#628BC7

#628BC7 is a light, moderate blue. Relative luminance 0.252; OKLCH L 63.2% C 0.102 H 257.8°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#628BC7
RGBrgb(98, 139, 199)
HSLhsl(216, 47%, 58%)
HSVhsv(216, 51%, 78%)
CMYKcmyk(50.8%, 30.2%, 0%, 22%)
CIE-LABlab(57.25, 2.78, -35.44)
CIE-LCHlch(57.25, 35.55, 274.49°)
OKLaboklab(63.2% -0.0215 -0.0995)
OKLCHoklch(63.2% 0.102 257.8)
XYZxyz(24.5749, 25.1837, 57.5877)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BC7 #C79E62
analogous
#62BDC7 #628BC7 #6B62C7
triadic
#628BC7 #C7628B #8BC762
tetradic
#628BC7 #C762BD #C79E62 #62C76B
square
#628BC7 #C762BD #C79E62 #62C76B
split-complementary
#628BC7 #C76B62 #BDC762
monochromatic
#2E5081 #3E6BAE #628BC7 #8FACD7 #BCCEE7

Accessibility & contrast

On white

3.48
#628BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#628BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BC7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BC7#FFFFFF#000000##000000
##628BC71.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#748FCA
Deuteranopia (green-blind)
#6785C6
Tritanopia (blue-blind)
#3298A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #628bc7;
/* rgb */ color: rgb(98, 139, 199);
/* oklch */ color: oklch(63.2% 0.102 257.8);
Tailwind
colors: {
  custom: {
    50: '#94acd8',
    500: '#628bc7',
    950: '#000000',
  },
}
SCSS
$custom: #628bc7;
$custom-light: #94acd8;
$custom-dark: #000000;
JSON
{
  "hex": "#628bc7",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 199
  },
  "hsl": {
    "h": 215.644,
    "s": 47.418,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63204,
    "c": 0.10182,
    "h": 257.8
  },
  "luminance": 0.25185
}

Semantic roles & 50–950 ramp

primary
#628BC7
secondary
#D7C6AE
accent
#A151D7
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E1014
muted
#7E7F83

Preview Lab

Preview with #628BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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