#628CF1#628CF1

#628CF1 is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.7% C 0.158 H 265.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#628CF1
RGBrgb(98, 140, 241)
HSLhsl(222, 84%, 66%)
HSVhsv(222, 59%, 95%)
CMYKcmyk(59.3%, 41.9%, 0%, 5.5%)
CIE-LABlab(59.62, 15.58, -55.18)
CIE-LCHlch(59.62, 57.34, 285.76°)
OKLaboklab(65.72% -0.0129 -0.1571)
OKLCHoklch(65.72% 0.158 265.3)
XYZxyz(30.2868, 27.7011, 86.9528)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CF1 #F1C762
analogous
#62D3F1 #628CF1 #8062F1
triadic
#628CF1 #F1628C #8CF162
tetradic
#628CF1 #F162D3 #F1C762 #62F180
square
#628CF1 #F162D3 #F1C762 #62F180
split-complementary
#628CF1 #F18062 #D3F162
monochromatic
#1247C7 #2A63EC #628CF1 #9AB5F6 #D2DEFB

Accessibility & contrast

On white

3.21
#628CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#628CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CF1
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CF1#FFFFFF#000000##000000
##628CF11.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F5
Deuteranopia (green-blind)
#4B8AEF
Tritanopia (blue-blind)
#00A3B3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #628cf1;
/* rgb */ color: rgb(98, 140, 241);
/* oklch */ color: oklch(65.7% 0.158 265.3);
Tailwind
colors: {
  custom: {
    50: '#9aadf6',
    500: '#628cf1',
    950: '#000000',
  },
}
SCSS
$custom: #628cf1;
$custom-light: #9aadf6;
$custom-dark: #000000;
JSON
{
  "hex": "#628cf1",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 241
  },
  "hsl": {
    "h": 222.378,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6572,
    "c": 0.15763,
    "h": 265.3
  },
  "luminance": 0.27704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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