#628BEF#628BEF

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

Color values

HEX#628BEF
RGBrgb(98, 139, 239)
HSLhsl(223, 82%, 66%)
HSVhsv(223, 59%, 94%)
CMYKcmyk(59%, 41.8%, 0%, 6.3%)
CIE-LABlab(59.24, 15.52, -54.67)
CIE-LCHlch(59.24, 56.83, 285.85°)
OKLaboklab(65.4% -0.0122 -0.1556)
OKLCHoklch(65.4% 0.156 265.5)
XYZxyz(29.8443, 27.2914, 85.3397)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BEF #EFC662
analogous
#62D1EF #628BEF #7F62EF
triadic
#628BEF #EF628B #8BEF62
tetradic
#628BEF #EF62D1 #EFC662 #62EF7F
square
#628BEF #EF62D1 #EFC662 #62EF7F
split-complementary
#628BEF #EF7F62 #D1EF62
monochromatic
#1447C3 #2A62E9 #628BEF #9AB4F5 #D1DDFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628BEF#FFFFFF#000000##000000
##628BEF1.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)
#5F95F3
Deuteranopia (green-blind)
#4B89ED
Tritanopia (blue-blind)
#00A1B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628bef;
/* rgb */ color: rgb(98, 139, 239);
/* oklch */ color: oklch(65.4% 0.156 265.5);
Tailwind
colors: {
  custom: {
    50: '#99acf5',
    500: '#628bef',
    950: '#000000',
  },
}
SCSS
$custom: #628bef;
$custom-light: #99acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#628bef",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 222.553,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65396,
    "c": 0.1561,
    "h": 265.5
  },
  "luminance": 0.27294
}

Semantic roles & 50–950 ramp

primary
#628BEF
secondary
#EEE0BF
accent
#A008DE
background
#FAFAFF
surface
#F3F4FE
border
#CDCED6
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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