#628AC8#628AC8

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

Color values

HEX#628AC8
RGBrgb(98, 138, 200)
HSLhsl(216, 48%, 58%)
HSVhsv(216, 51%, 78%)
CMYKcmyk(51%, 31%, 0%, 21.6%)
CIE-LABlab(57.02, 3.68, -36.37)
CIE-LCHlch(57.02, 36.56, 275.77°)
OKLaboklab(63.04% -0.02 -0.1022)
OKLCHoklch(63.04% 0.104 258.9)
XYZxyz(24.5473, 24.9420, 58.1531)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AC8 #C8A062
analogous
#62BDC8 #628AC8 #6D62C8
triadic
#628AC8 #C8628A #8AC862
tetradic
#628AC8 #C862BD #C8A062 #62C86D
square
#628AC8 #C862BD #C8A062 #62C86D
split-complementary
#628AC8 #C86D62 #BDC862
monochromatic
#2E4F82 #3D6AAF #628AC8 #8FACD8 #BDCEE8

Accessibility & contrast

On white

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

On black

5.99
#628AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AC8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AC8#FFFFFF#000000##000000
##628AC81.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ECB
Deuteranopia (green-blind)
#6684C7
Tritanopia (blue-blind)
#3198A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #628ac8;
/* rgb */ color: rgb(98, 138, 200);
/* oklch */ color: oklch(63.0% 0.104 258.9);
Tailwind
colors: {
  custom: {
    50: '#94abd9',
    500: '#628ac8',
    950: '#000000',
  },
}
SCSS
$custom: #628ac8;
$custom-light: #94abd9;
$custom-dark: #000000;
JSON
{
  "hex": "#628ac8",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 200
  },
  "hsl": {
    "h": 216.471,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63035,
    "c": 0.10418,
    "h": 258.9
  },
  "luminance": 0.24944
}

Semantic roles & 50–950 ramp

primary
#628AC8
secondary
#D7C7AF
accent
#A350D8
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E1014
muted
#7E7F83

Preview Lab

Preview with #628AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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