#628ECC#628ECC

#628ECC is a light, moderate blue. Relative luminance 0.263; OKLCH L 64.1% C 0.106 H 257.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#628ECC
RGBrgb(98, 142, 204)
HSLhsl(215, 51%, 59%)
HSVhsv(215, 52%, 80%)
CMYKcmyk(52%, 30.4%, 0%, 20%)
CIE-LABlab(58.32, 2.58, -36.59)
CIE-LCHlch(58.32, 36.68, 274.03°)
OKLaboklab(64.11% -0.0236 -0.1028)
OKLCHoklch(64.11% 0.106 257.1)
XYZxyz(25.6054, 26.3004, 60.8422)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628ECC #CCA062
analogous
#62C3CC #628ECC #6B62CC
triadic
#628ECC #CC628E #8ECC62
tetradic
#628ECC #CC62C3 #CCA062 #62CC6B
square
#628ECC #CC62C3 #CCA062 #62CC6B
split-complementary
#628ECC #CC6B62 #C3CC62
monochromatic
#2C5288 #3B6EB6 #628ECC #90AFDB #BED0EA

Accessibility & contrast

On white

3.35
#628ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#628ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628ECC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628ECC#FFFFFF#000000##000000
##628ECC1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CF
Deuteranopia (green-blind)
#6988CB
Tritanopia (blue-blind)
#2B9CA4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #628ecc;
/* rgb */ color: rgb(98, 142, 204);
/* oklch */ color: oklch(64.1% 0.106 257.1);
Tailwind
colors: {
  custom: {
    50: '#95aedc',
    500: '#628ecc',
    950: '#000000',
  },
}
SCSS
$custom: #628ecc;
$custom-light: #95aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#628ecc",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 204
  },
  "hsl": {
    "h": 215.094,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64112,
    "c": 0.10552,
    "h": 257.1
  },
  "luminance": 0.26302
}

Semantic roles & 50–950 ramp

primary
#628ECC
secondary
#DAC8B0
accent
#A04DDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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