#628FEB#628FEB

#628FEB is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.0% C 0.146 H 263.3°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#628FEB
RGBrgb(98, 143, 235)
HSLhsl(220, 77%, 65%)
HSVhsv(220, 58%, 92%)
CMYKcmyk(58.3%, 39.1%, 0%, 7.8%)
CIE-LABlab(60.10, 11.83, -51.09)
CIE-LCHlch(60.10, 52.44, 283.04°)
OKLaboklab(65.99% -0.0171 -0.1451)
OKLCHoklch(65.99% 0.146 263.3)
XYZxyz(29.8497, 28.2373, 82.4585)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FEB #EBBE62
analogous
#62D3EB #628FEB #7962EB
triadic
#628FEB #EB628F #8FEB62
tetradic
#628FEB #EB62D3 #EBBE62 #62EB79
square
#628FEB #EB62D3 #EBBE62 #62EB79
split-complementary
#628FEB #EB7962 #D3EB62
monochromatic
#184DBB #2C68E4 #628FEB #98B6F2 #CFDCF9

Accessibility & contrast

On white

3.16
#628FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#628FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FEB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FEB#FFFFFF#000000##000000
##628FEB1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#558BE9
Tritanopia (blue-blind)
#00A3B2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628feb;
/* rgb */ color: rgb(98, 143, 235);
/* oklch */ color: oklch(66.0% 0.146 263.3);
Tailwind
colors: {
  custom: {
    50: '#99aff2',
    500: '#628feb',
    950: '#000000',
  },
}
SCSS
$custom: #628feb;
$custom-light: #99aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#628feb",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 220.292,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6599,
    "c": 0.14609,
    "h": 263.3
  },
  "luminance": 0.2824
}

Semantic roles & 50–950 ramp

primary
#628FEB
secondary
#EBDCBD
accent
#960CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #628FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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