#628CF6#628CF6

#628CF6 is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.0% C 0.164 H 265.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#628CF6
RGBrgb(98, 140, 246)
HSLhsl(223, 89%, 67%)
HSVhsv(223, 60%, 96%)
CMYKcmyk(60.2%, 43.1%, 0%, 3.5%)
CIE-LABlab(59.89, 17.21, -57.50)
CIE-LCHlch(59.89, 60.02, 286.67°)
OKLaboklab(66.02% -0.012 -0.1639)
OKLCHoklch(66.02% 0.164 265.8)
XYZxyz(31.0439, 28.0040, 90.9403)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CF6 #F6CC62
analogous
#62D6F6 #628CF6 #8262F6
triadic
#628CF6 #F6628C #8CF662
tetradic
#628CF6 #F662D6 #F6CC62 #62F682
square
#628CF6 #F662D6 #F6CC62 #62F682
split-complementary
#628CF6 #F68262 #D6F662
monochromatic
#0C44D2 #2862F3 #628CF6 #9CB6F9 #D6E1FD

Accessibility & contrast

On white

3.18
#628CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#628CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CF6
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CF6#FFFFFF#000000##000000
##628CF61.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C97FA
Deuteranopia (green-blind)
#468AF4
Tritanopia (blue-blind)
#00A4B5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #628cf6;
/* rgb */ color: rgb(98, 140, 246);
/* oklch */ color: oklch(66.0% 0.164 265.8);
Tailwind
colors: {
  custom: {
    50: '#9aadfa',
    500: '#628cf6',
    950: '#000000',
  },
}
SCSS
$custom: #628cf6;
$custom-light: #9aadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#628cf6",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 222.973,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6602,
    "c": 0.16435,
    "h": 265.8
  },
  "luminance": 0.28007
}

Semantic roles & 50–950 ramp

primary
#628CF6
secondary
#F1E4C3
accent
#A400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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