#628AF3#628AF3

#628AF3 is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.4% C 0.163 H 266.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#628AF3
RGBrgb(98, 138, 243)
HSLhsl(223, 86%, 67%)
HSVhsv(223, 60%, 95%)
CMYKcmyk(59.7%, 43.2%, 0%, 4.7%)
CIE-LABlab(59.20, 17.43, -56.95)
CIE-LCHlch(59.20, 59.56, 287.01°)
OKLaboklab(65.43% -0.0105 -0.1623)
OKLCHoklch(65.43% 0.163 266.3)
XYZxyz(30.2976, 27.2421, 88.4383)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AF3 #F3CB62
analogous
#62D3F3 #628AF3 #8362F3
triadic
#628AF3 #F3628A #8AF362
tetradic
#628AF3 #F362D3 #F3CB62 #62F383
square
#628AF3 #F362D3 #F3CB62 #62F383
split-complementary
#628AF3 #F38362 #D3F362
monochromatic
#1043CB #2960EF #628AF3 #9BB4F7 #D4DFFC

Accessibility & contrast

On white

3.26
#628AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#628AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AF3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AF3#FFFFFF#000000##000000
##628AF31.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F7
Deuteranopia (green-blind)
#4588F1
Tritanopia (blue-blind)
#00A2B3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #628af3;
/* rgb */ color: rgb(98, 138, 243);
/* oklch */ color: oklch(65.4% 0.163 266.3);
Tailwind
colors: {
  custom: {
    50: '#9aabf7',
    500: '#628af3',
    950: '#000000',
  },
}
SCSS
$custom: #628af3;
$custom-light: #9aabf7;
$custom-dark: #000000;
JSON
{
  "hex": "#628af3",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 243
  },
  "hsl": {
    "h": 223.448,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65433,
    "c": 0.16267,
    "h": 266.3
  },
  "luminance": 0.27245
}

Semantic roles & 50–950 ramp

primary
#628AF3
secondary
#F0E3C1
accent
#A503E2
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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