#628EFC#628EFC

#628EFC is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.8% C 0.170 H 265.6°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#628EFC
RGBrgb(98, 142, 252)
HSLhsl(223, 96%, 69%)
HSVhsv(223, 61%, 99%)
CMYKcmyk(61.1%, 43.7%, 0%, 1.2%)
CIE-LABlab(60.75, 17.99, -59.42)
CIE-LCHlch(60.75, 62.09, 286.85°)
OKLaboklab(66.79% -0.013 -0.1695)
OKLCHoklch(66.79% 0.17 265.6)
XYZxyz(32.2746, 28.9681, 95.9672)
Luminance0.2897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EFC #FCD062
analogous
#62DBFC #628EFC #8362FC
triadic
#628EFC #FC628E #8EFC62
tetradic
#628EFC #FC62DB #FCD062 #62FC83
square
#628EFC #FC62DB #FCD062 #62FC83
split-complementary
#628EFC #FC8362 #DBFC62
monochromatic
#0443DF #2663FB #628EFC #9EB9FD #DAE4FE

Accessibility & contrast

On white

3.09
#628EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#628EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EFC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EFC#FFFFFF#000000##000000
##628EFC1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#438CFA
Tritanopia (blue-blind)
#00A7B9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #628efc;
/* rgb */ color: rgb(98, 142, 252);
/* oklch */ color: oklch(66.8% 0.170 265.6);
Tailwind
colors: {
  custom: {
    50: '#9baefe',
    500: '#628efc',
    950: '#000000',
  },
}
SCSS
$custom: #628efc;
$custom-light: #9baefe;
$custom-dark: #000000;
JSON
{
  "hex": "#628efc",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 222.857,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66789,
    "c": 0.17003,
    "h": 265.6
  },
  "luminance": 0.28971
}

Semantic roles & 50–950 ramp

primary
#628EFC
secondary
#F4E7C6
accent
#A400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #628EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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