#628BC6#628BC6

#628BC6 is a light, moderate blue. Relative luminance 0.251; OKLCH L 63.2% C 0.100 H 257.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#628BC6
RGBrgb(98, 139, 198)
HSLhsl(215, 47%, 58%)
HSVhsv(215, 51%, 78%)
CMYKcmyk(50.5%, 29.8%, 0%, 22.4%)
CIE-LABlab(57.21, 2.48, -34.95)
CIE-LCHlch(57.21, 35.03, 274.05°)
OKLaboklab(63.15% -0.0218 -0.0981)
OKLCHoklch(63.15% 0.1 257.5)
XYZxyz(24.4592, 25.1374, 56.9782)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BC6 #C69D62
analogous
#62BDC6 #628BC6 #6B62C6
triadic
#628BC6 #C6628B #8BC662
tetradic
#628BC6 #C662BD #C69D62 #62C66B
square
#628BC6 #C662BD #C69D62 #62C66B
split-complementary
#628BC6 #C66B62 #BDC662
monochromatic
#2E4F7F #3F6CAC #628BC6 #8FACD6 #BCCDE7

Accessibility & contrast

On white

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

On black

6.03
#628BC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BC6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BC6#FFFFFF#000000##000000
##628BC61.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#748FC9
Deuteranopia (green-blind)
#6885C5
Tritanopia (blue-blind)
#3398A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #628bc6;
/* rgb */ color: rgb(98, 139, 198);
/* oklch */ color: oklch(63.2% 0.100 257.5);
Tailwind
colors: {
  custom: {
    50: '#94acd7',
    500: '#628bc6',
    950: '#000000',
  },
}
SCSS
$custom: #628bc6;
$custom-light: #94acd7;
$custom-dark: #000000;
JSON
{
  "hex": "#628bc6",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 198
  },
  "hsl": {
    "h": 215.4,
    "s": 46.729,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63154,
    "c": 0.10049,
    "h": 257.5
  },
  "luminance": 0.25139
}

Semantic roles & 50–950 ramp

primary
#628BC6
secondary
#D6C5AE
accent
#A051D6
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E1014
muted
#7E7F83

Preview Lab

Preview with #628BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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