#628CFA#628CFA

#628CFA is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.3% C 0.170 H 266.2°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#628CFA
RGBrgb(98, 140, 250)
HSLhsl(223, 94%, 68%)
HSVhsv(223, 61%, 98%)
CMYKcmyk(60.8%, 44%, 0%, 2%)
CIE-LABlab(60.12, 18.53, -59.34)
CIE-LCHlch(60.12, 62.17, 287.34°)
OKLaboklab(66.26% -0.0113 -0.1693)
OKLCHoklch(66.26% 0.17 266.2)
XYZxyz(31.6645, 28.2522, 94.2085)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CFA #FAD062
analogous
#62D8FA #628CFA #8462FA
triadic
#628CFA #FA628C #8CFA62
tetradic
#628CFA #FA62D8 #FAD062 #62FA84
square
#628CFA #FA62D8 #FAD062 #62FA84
split-complementary
#628CFA #FA8462 #D8FA62
monochromatic
#0741DB #2761F8 #628CFA #9DB7FC #D9E3FE

Accessibility & contrast

On white

3.16
#628CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#628CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CFA
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CFA#FFFFFF#000000##000000
##628CFA1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FE
Deuteranopia (green-blind)
#418AF8
Tritanopia (blue-blind)
#00A5B7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628cfa;
/* rgb */ color: rgb(98, 140, 250);
/* oklch */ color: oklch(66.3% 0.170 266.2);
Tailwind
colors: {
  custom: {
    50: '#9badfc',
    500: '#628cfa',
    950: '#000000',
  },
}
SCSS
$custom: #628cfa;
$custom-light: #9badfc;
$custom-dark: #000000;
JSON
{
  "hex": "#628cfa",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 223.421,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66264,
    "c": 0.16971,
    "h": 266.2
  },
  "luminance": 0.28255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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