#628DEC#628DEC

#628DEC is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.6% C 0.150 H 264.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#628DEC
RGBrgb(98, 141, 236)
HSLhsl(221, 78%, 65%)
HSVhsv(221, 58%, 93%)
CMYKcmyk(58.5%, 40.3%, 0%, 7.5%)
CIE-LABlab(59.62, 13.35, -52.41)
CIE-LCHlch(59.62, 54.09, 284.29°)
OKLaboklab(65.63% -0.0148 -0.149)
OKLCHoklch(65.63% 0.15 264.3)
XYZxyz(29.6970, 27.7001, 83.1223)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628DEC #ECC162
analogous
#62D2EC #628DEC #7C62EC
triadic
#628DEC #EC628D #8DEC62
tetradic
#628DEC #EC62D2 #ECC162 #62EC7C
square
#628DEC #EC62D2 #ECC162 #62EC7C
split-complementary
#628DEC #EC7C62 #D2EC62
monochromatic
#174BBD #2B65E5 #628DEC #99B5F3 #CFDCF9

Accessibility & contrast

On white

3.21
#628DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#628DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628DEC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628DEC#FFFFFF#000000##000000
##628DEC1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496F0
Deuteranopia (green-blind)
#518AEA
Tritanopia (blue-blind)
#00A2B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #628dec;
/* rgb */ color: rgb(98, 141, 236);
/* oklch */ color: oklch(65.6% 0.150 264.3);
Tailwind
colors: {
  custom: {
    50: '#99adf2',
    500: '#628dec',
    950: '#000000',
  },
}
SCSS
$custom: #628dec;
$custom-light: #99adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#628dec",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 221.304,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65632,
    "c": 0.14972,
    "h": 264.3
  },
  "luminance": 0.27703
}

Semantic roles & 50–950 ramp

primary
#628DEC
secondary
#ECDEBE
accent
#9A0BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #628DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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