#628EF3#628EF3

#628EF3 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.2% C 0.158 H 264.7°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#628EF3
RGBrgb(98, 142, 243)
HSLhsl(222, 86%, 67%)
HSVhsv(222, 60%, 95%)
CMYKcmyk(59.7%, 41.6%, 0%, 4.7%)
CIE-LABlab(60.26, 15.04, -55.26)
CIE-LCHlch(60.26, 57.27, 285.22°)
OKLaboklab(66.25% -0.0145 -0.1573)
OKLCHoklch(66.25% 0.158 264.7)
XYZxyz(30.8821, 28.4111, 88.6331)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EF3 #F3C762
analogous
#62D7F3 #628EF3 #7F62F3
triadic
#628EF3 #F3628E #8EF362
tetradic
#628EF3 #F362D7 #F3C762 #62F37F
square
#628EF3 #F362D7 #F3C762 #62F37F
split-complementary
#628EF3 #F37F62 #D7F362
monochromatic
#1048CB #2965EF #628EF3 #9BB7F7 #D4E0FC

Accessibility & contrast

On white

3.14
#628EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#628EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EF3
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EF3#FFFFFF#000000##000000
##628EF31.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F7
Deuteranopia (green-blind)
#4D8BF1
Tritanopia (blue-blind)
#00A5B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628ef3;
/* rgb */ color: rgb(98, 142, 243);
/* oklch */ color: oklch(66.2% 0.158 264.7);
Tailwind
colors: {
  custom: {
    50: '#9aaef7',
    500: '#628ef3',
    950: '#000000',
  },
}
SCSS
$custom: #628ef3;
$custom-light: #9aaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#628ef3",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 221.793,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66248,
    "c": 0.15799,
    "h": 264.7
  },
  "luminance": 0.28414
}

Semantic roles & 50–950 ramp

primary
#628EF3
secondary
#F0E2C1
accent
#9F03E2
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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