#628AF2#628AF2

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

Color values

HEX#628AF2
RGBrgb(98, 138, 242)
HSLhsl(223, 85%, 67%)
HSVhsv(223, 60%, 95%)
CMYKcmyk(59.5%, 43%, 0%, 5.1%)
CIE-LABlab(59.14, 17.10, -56.49)
CIE-LCHlch(59.14, 59.02, 286.84°)
OKLaboklab(65.37% -0.0106 -0.161)
OKLCHoklch(65.37% 0.161 266.2)
XYZxyz(30.1470, 27.1819, 87.6451)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AF2 #F2CA62
analogous
#62D2F2 #628AF2 #8262F2
triadic
#628AF2 #F2628A #8AF262
tetradic
#628AF2 #F262D2 #F2CA62 #62F282
square
#628AF2 #F262D2 #F2CA62 #62F282
split-complementary
#628AF2 #F28262 #D2F262
monochromatic
#1144C9 #2960ED #628AF2 #9BB4F7 #D3DEFB

Accessibility & contrast

On white

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

On black

6.44
#628AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AF2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AF2#FFFFFF#000000##000000
##628AF21.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F6
Deuteranopia (green-blind)
#4688F0
Tritanopia (blue-blind)
#00A1B2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #628af2;
/* rgb */ color: rgb(98, 138, 242);
/* oklch */ color: oklch(65.4% 0.161 266.2);
Tailwind
colors: {
  custom: {
    50: '#9aabf7',
    500: '#628af2',
    950: '#000000',
  },
}
SCSS
$custom: #628af2;
$custom-light: #9aabf7;
$custom-dark: #000000;
JSON
{
  "hex": "#628af2",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 223.333,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65372,
    "c": 0.16132,
    "h": 266.2
  },
  "luminance": 0.27184
}

Semantic roles & 50–950 ramp

primary
#628AF2
secondary
#EFE2C1
accent
#A404E1
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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