#628EDC#628EDC

#628EDC is a light, vivid blue. Relative luminance 0.271; OKLCH L 64.9% C 0.127 H 261.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#628EDC
RGBrgb(98, 142, 220)
HSLhsl(218, 64%, 62%)
HSVhsv(218, 55%, 86%)
CMYKcmyk(55.5%, 35.5%, 0%, 13.7%)
CIE-LABlab(59.07, 7.60, -44.38)
CIE-LCHlch(59.07, 45.02, 279.72°)
OKLaboklab(64.95% -0.0194 -0.1255)
OKLCHoklch(64.95% 0.127 261.2)
XYZxyz(27.6238, 27.1078, 71.4729)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EDC #DCB062
analogous
#62CBDC #628EDC #7362DC
triadic
#628EDC #DC628E #8EDC62
tetradic
#628EDC #DC62CB #DCB062 #62DC73
square
#628EDC #DC62CB #DCB062 #62DC73
split-complementary
#628EDC #DC7362 #CBDC62
monochromatic
#2450A0 #306AD1 #628EDC #94B2E7 #C6D6F2

Accessibility & contrast

On white

3.27
#628EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#628EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EDC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EDC#FFFFFF#000000##000000
##628EDC1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DF
Deuteranopia (green-blind)
#5F89DA
Tritanopia (blue-blind)
#0F9FAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #628edc;
/* rgb */ color: rgb(98, 142, 220);
/* oklch */ color: oklch(64.9% 0.127 261.2);
Tailwind
colors: {
  custom: {
    50: '#97aee7',
    500: '#628edc',
    950: '#000000',
  },
}
SCSS
$custom: #628edc;
$custom-light: #97aee7;
$custom-dark: #000000;
JSON
{
  "hex": "#628edc",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 220
  },
  "hsl": {
    "h": 218.361,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64946,
    "c": 0.12698,
    "h": 261.2
  },
  "luminance": 0.2711
}

Semantic roles & 50–950 ramp

primary
#628EDC
secondary
#E3D3B7
accent
#8B1ACB
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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