#628CED#628CED

#628CED is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.5% C 0.152 H 264.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#628CED
RGBrgb(98, 140, 237)
HSLhsl(222, 79%, 66%)
HSVhsv(222, 59%, 93%)
CMYKcmyk(58.6%, 40.9%, 0%, 7.1%)
CIE-LABlab(59.40, 14.27, -53.31)
CIE-LCHlch(59.40, 55.19, 284.98°)
OKLaboklab(65.48% -0.0136 -0.1516)
OKLCHoklch(65.48% 0.152 264.9)
XYZxyz(29.6959, 27.4648, 83.8407)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CED #EDC362
analogous
#62D1ED #628CED #7D62ED
triadic
#628CED #ED628C #8CED62
tetradic
#628CED #ED62D1 #EDC362 #62ED7D
square
#628CED #ED62D1 #EDC362 #62ED7D
split-complementary
#628CED #ED7D62 #D1ED62
monochromatic
#1649BF #2B64E7 #628CED #99B4F3 #D0DCFA

Accessibility & contrast

On white

3.23
#628CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#628CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CED
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CED#FFFFFF#000000##000000
##628CED1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F1
Deuteranopia (green-blind)
#4F89EB
Tritanopia (blue-blind)
#00A2B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628ced;
/* rgb */ color: rgb(98, 140, 237);
/* oklch */ color: oklch(65.5% 0.152 264.9);
Tailwind
colors: {
  custom: {
    50: '#99adf3',
    500: '#628ced',
    950: '#000000',
  },
}
SCSS
$custom: #628ced;
$custom-light: #99adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#628ced",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 221.871,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65484,
    "c": 0.15223,
    "h": 264.9
  },
  "luminance": 0.27467
}

Semantic roles & 50–950 ramp

primary
#628CED
secondary
#EDDFBE
accent
#9C0ADC
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628CED

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

Preview Lab → · Contrast checker → · Palette generator →

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