#628AF1#628AF1

#628AF1 is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.3% C 0.160 H 266.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#628AF1
RGBrgb(98, 138, 241)
HSLhsl(223, 84%, 66%)
HSVhsv(223, 59%, 95%)
CMYKcmyk(59.3%, 42.7%, 0%, 5.5%)
CIE-LABlab(59.09, 16.77, -56.03)
CIE-LCHlch(59.09, 58.48, 286.66°)
OKLaboklab(65.31% -0.0108 -0.1596)
OKLCHoklch(65.31% 0.16 266.1)
XYZxyz(29.9972, 27.1220, 86.8563)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AF1 #F1C962
analogous
#62D2F1 #628AF1 #8262F1
triadic
#628AF1 #F1628A #8AF162
tetradic
#628AF1 #F162D2 #F1C962 #62F182
square
#628AF1 #F162D2 #F1C962 #62F182
split-complementary
#628AF1 #F18262 #D2F162
monochromatic
#1244C7 #2A60EC #628AF1 #9AB4F6 #D2DEFB

Accessibility & contrast

On white

3.27
#628AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#628AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AF1
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AF1#FFFFFF#000000##000000
##628AF11.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F5
Deuteranopia (green-blind)
#4788EF
Tritanopia (blue-blind)
#00A1B2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #628af1;
/* rgb */ color: rgb(98, 138, 241);
/* oklch */ color: oklch(65.3% 0.160 266.1);
Tailwind
colors: {
  custom: {
    50: '#9aabf6',
    500: '#628af1',
    950: '#000000',
  },
}
SCSS
$custom: #628af1;
$custom-light: #9aabf6;
$custom-dark: #000000;
JSON
{
  "hex": "#628af1",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 241
  },
  "hsl": {
    "h": 223.217,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65312,
    "c": 0.15997,
    "h": 266.1
  },
  "luminance": 0.27125
}

Semantic roles & 50–950 ramp

primary
#628AF1
secondary
#EFE2C0
accent
#A305E0
background
#FAFAFF
surface
#F3F4FE
border
#CDCED6
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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