#628BF4#628BF4

#628BF4 is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.7% C 0.163 H 266.0°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#628BF4
RGBrgb(98, 139, 244)
HSLhsl(223, 87%, 67%)
HSVhsv(223, 60%, 96%)
CMYKcmyk(59.8%, 43%, 0%, 4.3%)
CIE-LABlab(59.52, 17.16, -57.00)
CIE-LCHlch(59.52, 59.52, 286.75°)
OKLaboklab(65.7% -0.0113 -0.1624)
OKLCHoklch(65.7% 0.163 266)
XYZxyz(30.5932, 27.5910, 89.2838)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BF4 #F4CB62
analogous
#62D4F4 #628BF4 #8262F4
triadic
#628BF4 #F4628B #8BF462
tetradic
#628BF4 #F462D4 #F4CB62 #62F482
square
#628BF4 #F462D4 #F4CB62 #62F482
split-complementary
#628BF4 #F48262 #D4F462
monochromatic
#0E44CD #2961F0 #628BF4 #9BB5F8 #D4E0FC

Accessibility & contrast

On white

3.22
#628BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#628BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BF4
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BF4#FFFFFF#000000##000000
##628BF41.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F8
Deuteranopia (green-blind)
#4689F2
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628bf4;
/* rgb */ color: rgb(98, 139, 244);
/* oklch */ color: oklch(65.7% 0.163 266.0);
Tailwind
colors: {
  custom: {
    50: '#9aacf8',
    500: '#628bf4',
    950: '#000000',
  },
}
SCSS
$custom: #628bf4;
$custom-light: #9aacf8;
$custom-dark: #000000;
JSON
{
  "hex": "#628bf4",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 244
  },
  "hsl": {
    "h": 223.151,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65696,
    "c": 0.16283,
    "h": 266
  },
  "luminance": 0.27594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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