#628ECD#628ECD

#628ECD is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.2% C 0.107 H 257.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#628ECD
RGBrgb(98, 142, 205)
HSLhsl(215, 52%, 59%)
HSVhsv(215, 52%, 80%)
CMYKcmyk(52.2%, 30.7%, 0%, 19.6%)
CIE-LABlab(58.37, 2.88, -37.08)
CIE-LCHlch(58.37, 37.20, 274.45°)
OKLaboklab(64.16% -0.0234 -0.1043)
OKLCHoklch(64.16% 0.107 257.4)
XYZxyz(25.7257, 26.3485, 61.4759)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628ECD #CDA162
analogous
#62C4CD #628ECD #6C62CD
triadic
#628ECD #CD628E #8ECD62
tetradic
#628ECD #CD62C4 #CDA162 #62CD6C
square
#628ECD #CD62C4 #CDA162 #62CD6C
split-complementary
#628ECD #CD6C62 #C4CD62
monochromatic
#2C5289 #3A6EB7 #628ECD #90AFDC #BFD1EB

Accessibility & contrast

On white

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

On black

6.27
#628ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628ECD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628ECD#FFFFFF#000000##000000
##628ECD1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7592D0
Deuteranopia (green-blind)
#6888CC
Tritanopia (blue-blind)
#2A9CA4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #628ecd;
/* rgb */ color: rgb(98, 142, 205);
/* oklch */ color: oklch(64.2% 0.107 257.4);
Tailwind
colors: {
  custom: {
    50: '#95aedc',
    500: '#628ecd',
    950: '#000000',
  },
}
SCSS
$custom: #628ecd;
$custom-light: #95aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#628ecd",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 215.327,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64163,
    "c": 0.10685,
    "h": 257.4
  },
  "luminance": 0.2635
}

Semantic roles & 50–950 ramp

primary
#628ECD
secondary
#DAC9B1
accent
#A14DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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