#628BE7#628BE7

#628BE7 is a light, vivid blue. Relative luminance 0.268; OKLCH L 64.9% C 0.145 H 264.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#628BE7
RGBrgb(98, 139, 231)
HSLhsl(222, 73%, 65%)
HSVhsv(222, 58%, 91%)
CMYKcmyk(57.6%, 39.8%, 0%, 9.4%)
CIE-LABlab(58.82, 12.92, -50.91)
CIE-LCHlch(58.82, 52.53, 284.23°)
OKLaboklab(64.93% -0.0137 -0.1446)
OKLCHoklch(64.93% 0.145 264.6)
XYZxyz(28.6885, 26.8291, 79.2525)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BE7 #E7BE62
analogous
#62CDE7 #628BE7 #7C62E7
triadic
#628BE7 #E7628B #8BE762
tetradic
#628BE7 #E762CD #E7BE62 #62E77C
square
#628BE7 #E762CD #E7BE62 #62E77C
split-complementary
#628BE7 #E77C62 #CDE762
monochromatic
#1B4AB3 #2D64DF #628BE7 #97B2EF #CCD9F7

Accessibility & contrast

On white

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

On black

6.37
#628BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BE7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BE7#FFFFFF#000000##000000
##628BE71.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6494EB
Deuteranopia (green-blind)
#5288E5
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #628be7;
/* rgb */ color: rgb(98, 139, 231);
/* oklch */ color: oklch(64.9% 0.145 264.6);
Tailwind
colors: {
  custom: {
    50: '#98acef',
    500: '#628be7',
    950: '#000000',
  },
}
SCSS
$custom: #628be7;
$custom-light: #98acef;
$custom-dark: #000000;
JSON
{
  "hex": "#628be7",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 221.504,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64928,
    "c": 0.14526,
    "h": 264.6
  },
  "luminance": 0.26831
}

Semantic roles & 50–950 ramp

primary
#628BE7
secondary
#E9DBBB
accent
#9910D6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1016
muted
#7E7F84

Preview Lab

Preview with #628BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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