#628BF5#628BF5

#628BF5 is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.8% C 0.164 H 266.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#628BF5
RGBrgb(98, 139, 245)
HSLhsl(223, 88%, 67%)
HSVhsv(223, 60%, 96%)
CMYKcmyk(60%, 43.3%, 0%, 3.9%)
CIE-LABlab(59.57, 17.48, -57.46)
CIE-LCHlch(59.57, 60.06, 286.92°)
OKLaboklab(65.76% -0.0111 -0.1638)
OKLCHoklch(65.76% 0.164 266.1)
XYZxyz(30.7454, 27.6519, 90.0856)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BF5 #F5CC62
analogous
#62D5F5 #628BF5 #8262F5
triadic
#628BF5 #F5628B #8BF562
tetradic
#628BF5 #F562D5 #F5CC62 #62F582
square
#628BF5 #F562D5 #F5CC62 #62F582
split-complementary
#628BF5 #F58262 #D5F562
monochromatic
#0D43CF #2860F1 #628BF5 #9CB6F9 #D5E0FC

Accessibility & contrast

On white

3.22
#628BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#628BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BF5
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BF5#FFFFFF#000000##000000
##628BF51.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97F9
Deuteranopia (green-blind)
#4589F3
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628bf5;
/* rgb */ color: rgb(98, 139, 245);
/* oklch */ color: oklch(65.8% 0.164 266.1);
Tailwind
colors: {
  custom: {
    50: '#9aacf9',
    500: '#628bf5',
    950: '#000000',
  },
}
SCSS
$custom: #628bf5;
$custom-light: #9aacf9;
$custom-dark: #000000;
JSON
{
  "hex": "#628bf5",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 223.265,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65757,
    "c": 0.16418,
    "h": 266.1
  },
  "luminance": 0.27654
}

Semantic roles & 50–950 ramp

primary
#628BF5
secondary
#F1E4C2
accent
#A501E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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