#628DE4#628DE4

#628DE4 is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.2% C 0.139 H 263.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#628DE4
RGBrgb(98, 141, 228)
HSLhsl(220, 71%, 64%)
HSVhsv(220, 57%, 89%)
CMYKcmyk(57%, 38.2%, 0%, 10.6%)
CIE-LABlab(59.20, 10.76, -48.64)
CIE-LCHlch(59.20, 49.81, 282.47°)
OKLaboklab(65.18% -0.0165 -0.1379)
OKLCHoklch(65.18% 0.139 263.2)
XYZxyz(28.5607, 27.2455, 77.1376)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628DE4 #E4B962
analogous
#62CEE4 #628DE4 #7862E4
triadic
#628DE4 #E4628D #8DE462
tetradic
#628DE4 #E462CE #E4B962 #62E478
square
#628DE4 #E462CE #E4B962 #62E478
split-complementary
#628DE4 #E47862 #CEE462
monochromatic
#1E4DAE #2E67DB #628DE4 #96B3ED #CAD9F6

Accessibility & contrast

On white

3.26
#628DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#628DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628DE4
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628DE4#FFFFFF#000000##000000
##628DE41.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6995E7
Deuteranopia (green-blind)
#5889E2
Tritanopia (blue-blind)
#00A0AD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #628de4;
/* rgb */ color: rgb(98, 141, 228);
/* oklch */ color: oklch(65.2% 0.139 263.2);
Tailwind
colors: {
  custom: {
    50: '#98aded',
    500: '#628de4',
    950: '#000000',
  },
}
SCSS
$custom: #628de4;
$custom-light: #98aded;
$custom-dark: #000000;
JSON
{
  "hex": "#628de4",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 228
  },
  "hsl": {
    "h": 220.154,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65175,
    "c": 0.1389,
    "h": 263.2
  },
  "luminance": 0.27248
}

Semantic roles & 50–950 ramp

primary
#628DE4
secondary
#E8D9BA
accent
#9313D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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