#628ACF#628ACF

#628ACF is a light, moderate blue. Relative luminance 0.253; OKLCH L 63.4% C 0.114 H 260.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#628ACF
RGBrgb(98, 138, 207)
HSLhsl(218, 53%, 60%)
HSVhsv(218, 53%, 81%)
CMYKcmyk(52.7%, 33.3%, 0%, 18.8%)
CIE-LABlab(57.34, 5.85, -39.81)
CIE-LCHlch(57.34, 40.24, 278.36°)
OKLaboklab(63.4% -0.0182 -0.1122)
OKLCHoklch(63.4% 0.114 260.8)
XYZxyz(25.3841, 25.2767, 62.5606)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628ACF #CFA762
analogous
#62C0CF #628ACF #7162CF
triadic
#628ACF #CF628A #8ACF62
tetradic
#628ACF #CF62C0 #CFA762 #62CF71
square
#628ACF #CF62C0 #CFA762 #62CF71
split-complementary
#628ACF #CF7162 #C0CF62
monochromatic
#2B4E8C #3969BB #628ACF #91ADDD #C0D0EC

Accessibility & contrast

On white

3.47
#628ACF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#628ACF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628ACF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628ACF#FFFFFF#000000##000000
##628ACF1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8FD2
Deuteranopia (green-blind)
#6285CE
Tritanopia (blue-blind)
#2999A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #628acf;
/* rgb */ color: rgb(98, 138, 207);
/* oklch */ color: oklch(63.4% 0.114 260.8);
Tailwind
colors: {
  custom: {
    50: '#95abde',
    500: '#628acf',
    950: '#000000',
  },
}
SCSS
$custom: #628acf;
$custom-light: #95abde;
$custom-dark: #000000;
JSON
{
  "hex": "#628acf",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 207
  },
  "hsl": {
    "h": 217.982,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63396,
    "c": 0.11367,
    "h": 260.8
  },
  "luminance": 0.25279
}

Semantic roles & 50–950 ramp

primary
#628ACF
secondary
#DBCCB1
accent
#A74BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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