#628ACC#628ACC

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

Color values

HEX#628ACC
RGBrgb(98, 138, 204)
HSLhsl(217, 51%, 59%)
HSVhsv(217, 52%, 80%)
CMYKcmyk(52%, 32.4%, 0%, 20%)
CIE-LABlab(57.20, 4.92, -38.34)
CIE-LCHlch(57.20, 38.66, 277.31°)
OKLaboklab(63.24% -0.019 -0.1079)
OKLCHoklch(63.24% 0.11 260)
XYZxyz(25.0209, 25.1314, 60.6474)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628ACC #CCA462
analogous
#62BFCC #628ACC #6F62CC
triadic
#628ACC #CC628A #8ACC62
tetradic
#628ACC #CC62BF #CCA462 #62CC6F
square
#628ACC #CC62BF #CCA462 #62CC6F
split-complementary
#628ACC #CC6F62 #BFCC62
monochromatic
#2C4F88 #3B69B6 #628ACC #90ACDB #BECFEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628ACC#FFFFFF#000000##000000
##628ACC1.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)
#708FCF
Deuteranopia (green-blind)
#6385CB
Tritanopia (blue-blind)
#2D98A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #628acc;
/* rgb */ color: rgb(98, 138, 204);
/* oklch */ color: oklch(63.2% 0.110 260.0);
Tailwind
colors: {
  custom: {
    50: '#95abdc',
    500: '#628acc',
    950: '#000000',
  },
}
SCSS
$custom: #628acc;
$custom-light: #95abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#628acc",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 204
  },
  "hsl": {
    "h": 217.358,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6324,
    "c": 0.10959,
    "h": 260
  },
  "luminance": 0.25133
}

Semantic roles & 50–950 ramp

primary
#628ACC
secondary
#DACAB0
accent
#A54DDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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