#628EFB#628EFB

#628EFB is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.7% C 0.169 H 265.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#628EFB
RGBrgb(98, 142, 251)
HSLhsl(223, 95%, 68%)
HSVhsv(223, 61%, 98%)
CMYKcmyk(61%, 43.4%, 0%, 1.6%)
CIE-LABlab(60.70, 17.66, -58.96)
CIE-LCHlch(60.70, 61.55, 286.68°)
OKLaboklab(66.73% -0.0131 -0.1682)
OKLCHoklch(66.73% 0.169 265.5)
XYZxyz(32.1166, 28.9049, 95.1348)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EFB #FBCF62
analogous
#62DAFB #628EFB #8262FB
triadic
#628EFB #FB628E #8EFB62
tetradic
#628EFB #FB62DA #FBCF62 #62FB82
square
#628EFB #FB62DA #FBCF62 #62FB82
split-complementary
#628EFB #FB8262 #DAFB62
monochromatic
#0644DD #2663F9 #628EFB #9EB9FD #D9E4FE

Accessibility & contrast

On white

3.10
#628EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#628EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EFB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EFB#FFFFFF#000000##000000
##628EFB1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#448CF9
Tritanopia (blue-blind)
#00A7B8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #628efb;
/* rgb */ color: rgb(98, 142, 251);
/* oklch */ color: oklch(66.7% 0.169 265.5);
Tailwind
colors: {
  custom: {
    50: '#9baefd',
    500: '#628efb',
    950: '#000000',
  },
}
SCSS
$custom: #628efb;
$custom-light: #9baefd;
$custom-dark: #000000;
JSON
{
  "hex": "#628efb",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 222.745,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66728,
    "c": 0.16869,
    "h": 265.5
  },
  "luminance": 0.28908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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