#628AF4#628AF4

#628AF4 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.5% C 0.164 H 266.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#628AF4
RGBrgb(98, 138, 244)
HSLhsl(224, 87%, 67%)
HSVhsv(224, 60%, 96%)
CMYKcmyk(59.8%, 43.4%, 0%, 4.3%)
CIE-LABlab(59.25, 17.75, -57.42)
CIE-LCHlch(59.25, 60.10, 287.18°)
OKLaboklab(65.49% -0.0103 -0.1637)
OKLCHoklch(65.49% 0.164 266.4)
XYZxyz(30.4490, 27.3027, 89.2358)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AF4 #F4CC62
analogous
#62D3F4 #628AF4 #8362F4
triadic
#628AF4 #F4628A #8AF462
tetradic
#628AF4 #F462D3 #F4CC62 #62F483
square
#628AF4 #F462D3 #F4CC62 #62F483
split-complementary
#628AF4 #F48362 #D3F462
monochromatic
#0E43CD #295FF0 #628AF4 #9BB5F8 #D4DFFC

Accessibility & contrast

On white

3.25
#628AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#628AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AF4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AF4#FFFFFF#000000##000000
##628AF41.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996F8
Deuteranopia (green-blind)
#4488F2
Tritanopia (blue-blind)
#00A2B3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628af4;
/* rgb */ color: rgb(98, 138, 244);
/* oklch */ color: oklch(65.5% 0.164 266.4);
Tailwind
colors: {
  custom: {
    50: '#9aabf8',
    500: '#628af4',
    950: '#000000',
  },
}
SCSS
$custom: #628af4;
$custom-light: #9aabf8;
$custom-dark: #000000;
JSON
{
  "hex": "#628af4",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 244
  },
  "hsl": {
    "h": 223.562,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65493,
    "c": 0.16401,
    "h": 266.4
  },
  "luminance": 0.27305
}

Semantic roles & 50–950 ramp

primary
#628AF4
secondary
#F0E3C2
accent
#A602E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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