#628CDF#628CDF

#628CDF is a light, vivid blue. Relative luminance 0.267; OKLCH L 64.7% C 0.133 H 262.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#628CDF
RGBrgb(98, 140, 223)
HSLhsl(220, 66%, 63%)
HSVhsv(220, 56%, 87%)
CMYKcmyk(56.1%, 37.2%, 0%, 12.5%)
CIE-LABlab(58.68, 9.74, -46.68)
CIE-LCHlch(58.68, 47.69, 281.79°)
OKLaboklab(64.69% -0.0165 -0.1322)
OKLCHoklch(64.69% 0.133 262.9)
XYZxyz(27.7298, 26.6783, 73.4859)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CDF #DFB562
analogous
#62CBDF #628CDF #7662DF
triadic
#628CDF #DF628C #8CDF62
tetradic
#628CDF #DF62CB #DFB562 #62DF76
square
#628CDF #DF62CB #DFB562 #62DF76
split-complementary
#628CDF #DF7662 #CBDF62
monochromatic
#224EA5 #2F67D5 #628CDF #95B1E9 #C8D6F4

Accessibility & contrast

On white

3.31
#628CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#628CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CDF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CDF#FFFFFF#000000##000000
##628CDF1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A93E2
Deuteranopia (green-blind)
#5A88DD
Tritanopia (blue-blind)
#049EAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #628cdf;
/* rgb */ color: rgb(98, 140, 223);
/* oklch */ color: oklch(64.7% 0.133 262.9);
Tailwind
colors: {
  custom: {
    50: '#97ade9',
    500: '#628cdf',
    950: '#000000',
  },
}
SCSS
$custom: #628cdf;
$custom-light: #97ade9;
$custom-dark: #000000;
JSON
{
  "hex": "#628cdf",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 223
  },
  "hsl": {
    "h": 219.84,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64685,
    "c": 0.13325,
    "h": 262.9
  },
  "luminance": 0.26681
}

Semantic roles & 50–950 ramp

primary
#628CDF
secondary
#E5D6B8
accent
#9117CE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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