#628FDC#628FDC

#628FDC is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.2% C 0.126 H 260.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#628FDC
RGBrgb(98, 143, 220)
HSLhsl(218, 64%, 62%)
HSVhsv(218, 55%, 86%)
CMYKcmyk(55.5%, 35%, 0%, 13.7%)
CIE-LABlab(59.35, 7.01, -43.94)
CIE-LCHlch(59.35, 44.50, 279.07°)
OKLaboklab(65.16% -0.0205 -0.1242)
OKLCHoklch(65.16% 0.126 260.6)
XYZxyz(27.7733, 27.4067, 71.5227)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FDC #DCAF62
analogous
#62CCDC #628FDC #7262DC
triadic
#628FDC #DC628F #8FDC62
tetradic
#628FDC #DC62CC #DCAF62 #62DC72
square
#628FDC #DC62CC #DCAF62 #62DC72
split-complementary
#628FDC #DC7262 #CCDC62
monochromatic
#2451A0 #306BD1 #628FDC #94B3E7 #C6D6F2

Accessibility & contrast

On white

3.24
#628FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#628FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FDC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FDC#FFFFFF#000000##000000
##628FDC1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DF
Deuteranopia (green-blind)
#608ADA
Tritanopia (blue-blind)
#0EA0AB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628fdc;
/* rgb */ color: rgb(98, 143, 220);
/* oklch */ color: oklch(65.2% 0.126 260.6);
Tailwind
colors: {
  custom: {
    50: '#97afe7',
    500: '#628fdc',
    950: '#000000',
  },
}
SCSS
$custom: #628fdc;
$custom-light: #97afe7;
$custom-dark: #000000;
JSON
{
  "hex": "#628fdc",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 220
  },
  "hsl": {
    "h": 217.869,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6516,
    "c": 0.12589,
    "h": 260.6
  },
  "luminance": 0.27409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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