#628EE4#628EE4

#628EE4 is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.4% C 0.138 H 262.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#628EE4
RGBrgb(98, 142, 228)
HSLhsl(220, 71%, 64%)
HSVhsv(220, 57%, 89%)
CMYKcmyk(57%, 37.7%, 0%, 10.6%)
CIE-LABlab(59.47, 10.16, -48.21)
CIE-LCHlch(59.47, 49.27, 281.91°)
OKLaboklab(65.39% -0.0176 -0.1366)
OKLCHoklch(65.39% 0.138 262.7)
XYZxyz(28.7088, 27.5418, 77.1870)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EE4 #E4B862
analogous
#62CFE4 #628EE4 #7762E4
triadic
#628EE4 #E4628E #8EE462
tetradic
#628EE4 #E462CF #E4B862 #62E477
square
#628EE4 #E462CF #E4B862 #62E477
split-complementary
#628EE4 #E47762 #CFE462
monochromatic
#1E4FAE #2E68DB #628EE4 #96B4ED #CAD9F6

Accessibility & contrast

On white

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

On black

6.51
#628EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EE4
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EE4#FFFFFF#000000##000000
##628EE41.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A96E7
Deuteranopia (green-blind)
#598AE2
Tritanopia (blue-blind)
#00A1AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628ee4;
/* rgb */ color: rgb(98, 142, 228);
/* oklch */ color: oklch(65.4% 0.138 262.7);
Tailwind
colors: {
  custom: {
    50: '#98aeed',
    500: '#628ee4',
    950: '#000000',
  },
}
SCSS
$custom: #628ee4;
$custom-light: #98aeed;
$custom-dark: #000000;
JSON
{
  "hex": "#628ee4",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 228
  },
  "hsl": {
    "h": 219.692,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65385,
    "c": 0.13778,
    "h": 262.7
  },
  "luminance": 0.27544
}

Semantic roles & 50–950 ramp

primary
#628EE4
secondary
#E8D8BA
accent
#9213D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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