#628DFA#628DFA

#628DFA is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.5% C 0.169 H 265.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#628DFA
RGBrgb(98, 141, 250)
HSLhsl(223, 94%, 68%)
HSVhsv(223, 61%, 98%)
CMYKcmyk(60.8%, 43.6%, 0%, 2%)
CIE-LABlab(60.38, 17.93, -58.92)
CIE-LCHlch(60.38, 61.59, 286.93°)
OKLaboklab(66.47% -0.0123 -0.1681)
OKLCHoklch(66.47% 0.169 265.8)
XYZxyz(31.8113, 28.5458, 94.2574)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628DFA #FACF62
analogous
#62D9FA #628DFA #8362FA
triadic
#628DFA #FA628D #8DFA62
tetradic
#628DFA #FA62D9 #FACF62 #62FA83
square
#628DFA #FA62D9 #FACF62 #62FA83
split-complementary
#628DFA #FA8362 #D9FA62
monochromatic
#0743DB #2762F8 #628DFA #9DB8FC #D9E3FE

Accessibility & contrast

On white

3.13
#628DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#628DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628DFA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628DFA#FFFFFF#000000##000000
##628DFA1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FE
Deuteranopia (green-blind)
#438BF8
Tritanopia (blue-blind)
#00A6B7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #628dfa;
/* rgb */ color: rgb(98, 141, 250);
/* oklch */ color: oklch(66.5% 0.169 265.8);
Tailwind
colors: {
  custom: {
    50: '#9badfc',
    500: '#628dfa',
    950: '#000000',
  },
}
SCSS
$custom: #628dfa;
$custom-light: #9badfc;
$custom-dark: #000000;
JSON
{
  "hex": "#628dfa",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 223.026,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66465,
    "c": 0.16853,
    "h": 265.8
  },
  "luminance": 0.28549
}

Semantic roles & 50–950 ramp

primary
#628DFA
secondary
#F3E6C5
accent
#A500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #628DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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