#628BF1#628BF1

#628BF1 is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.5% C 0.159 H 265.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#628BF1
RGBrgb(98, 139, 241)
HSLhsl(223, 84%, 66%)
HSVhsv(223, 59%, 95%)
CMYKcmyk(59.3%, 42.3%, 0%, 5.5%)
CIE-LABlab(59.35, 16.17, -55.60)
CIE-LCHlch(59.35, 57.91, 286.22°)
OKLaboklab(65.52% -0.0118 -0.1583)
OKLCHoklch(65.52% 0.159 265.7)
XYZxyz(30.1414, 27.4102, 86.9044)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BF1 #F1C862
analogous
#62D3F1 #628BF1 #8162F1
triadic
#628BF1 #F1628B #8BF162
tetradic
#628BF1 #F162D3 #F1C862 #62F181
square
#628BF1 #F162D3 #F1C862 #62F181
split-complementary
#628BF1 #F18162 #D3F162
monochromatic
#1246C7 #2A61EC #628BF1 #9AB5F6 #D2DEFB

Accessibility & contrast

On white

3.24
#628BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#628BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BF1
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BF1#FFFFFF#000000##000000
##628BF11.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F5
Deuteranopia (green-blind)
#4989EF
Tritanopia (blue-blind)
#00A2B2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628bf1;
/* rgb */ color: rgb(98, 139, 241);
/* oklch */ color: oklch(65.5% 0.159 265.7);
Tailwind
colors: {
  custom: {
    50: '#9aacf6',
    500: '#628bf1',
    950: '#000000',
  },
}
SCSS
$custom: #628bf1;
$custom-light: #9aacf6;
$custom-dark: #000000;
JSON
{
  "hex": "#628bf1",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 241
  },
  "hsl": {
    "h": 222.797,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65515,
    "c": 0.15879,
    "h": 265.7
  },
  "luminance": 0.27413
}

Semantic roles & 50–950 ramp

primary
#628BF1
secondary
#EFE1C0
accent
#A105E0
background
#FAFAFF
surface
#F3F4FE
border
#CDCED6
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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