#628AEB#628AEB

#628AEB is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.0% C 0.152 H 265.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#628AEB
RGBrgb(98, 138, 235)
HSLhsl(222, 77%, 65%)
HSVhsv(222, 58%, 92%)
CMYKcmyk(58.3%, 41.3%, 0%, 7.8%)
CIE-LABlab(58.76, 14.81, -53.22)
CIE-LCHlch(58.76, 55.25, 285.55°)
OKLaboklab(64.95% -0.0119 -0.1514)
OKLCHoklch(64.95% 0.152 265.5)
XYZxyz(29.1158, 26.7694, 82.2138)
Luminance0.2677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AEB #EBC362
analogous
#62CEEB #628AEB #7F62EB
triadic
#628AEB #EB628A #8AEB62
tetradic
#628AEB #EB62CE #EBC362 #62EB7F
square
#628AEB #EB62CE #EBC362 #62EB7F
split-complementary
#628AEB #EB7F62 #CEEB62
monochromatic
#1847BB #2C62E4 #628AEB #98B2F2 #CFDBF9

Accessibility & contrast

On white

3.30
#628AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#628AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AEB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AEB#FFFFFF#000000##000000
##628AEB1.003.306.356.35
#FFFFFF3.301.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#4D88E9
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #628aeb;
/* rgb */ color: rgb(98, 138, 235);
/* oklch */ color: oklch(65.0% 0.152 265.5);
Tailwind
colors: {
  custom: {
    50: '#99abf2',
    500: '#628aeb',
    950: '#000000',
  },
}
SCSS
$custom: #628aeb;
$custom-light: #99abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#628aeb",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 222.482,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64954,
    "c": 0.15185,
    "h": 265.5
  },
  "luminance": 0.26772
}

Semantic roles & 50–950 ramp

primary
#628AEB
secondary
#EBDEBD
accent
#9E0CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #628AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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