#628CEB#628CEB

#628CEB is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.4% C 0.150 H 264.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#628CEB
RGBrgb(98, 140, 235)
HSLhsl(222, 77%, 65%)
HSVhsv(222, 58%, 92%)
CMYKcmyk(58.3%, 40.4%, 0%, 7.8%)
CIE-LABlab(59.30, 13.62, -52.37)
CIE-LCHlch(59.30, 54.11, 284.58°)
OKLaboklab(65.37% -0.014 -0.1489)
OKLCHoklch(65.37% 0.15 264.6)
XYZxyz(29.4054, 27.3486, 82.3104)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CEB #EBC162
analogous
#62D0EB #628CEB #7C62EB
triadic
#628CEB #EB628C #8CEB62
tetradic
#628CEB #EB62D0 #EBC162 #62EB7C
square
#628CEB #EB62D0 #EBC162 #62EB7C
split-complementary
#628CEB #EB7C62 #D0EB62
monochromatic
#184ABB #2C64E4 #628CEB #98B4F2 #CFDCF9

Accessibility & contrast

On white

3.25
#628CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#628CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CEB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CEB#FFFFFF#000000##000000
##628CEB1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EF
Deuteranopia (green-blind)
#5089E9
Tritanopia (blue-blind)
#00A1B0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628ceb;
/* rgb */ color: rgb(98, 140, 235);
/* oklch */ color: oklch(65.4% 0.150 264.6);
Tailwind
colors: {
  custom: {
    50: '#99adf2',
    500: '#628ceb',
    950: '#000000',
  },
}
SCSS
$custom: #628ceb;
$custom-light: #99adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#628ceb",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 235
  },
  "hsl": {
    "h": 221.606,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65367,
    "c": 0.14953,
    "h": 264.6
  },
  "luminance": 0.27351
}

Semantic roles & 50–950 ramp

primary
#628CEB
secondary
#EBDDBD
accent
#9B0CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #628CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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