#628CEA#628CEA

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

Color values

HEX#628CEA
RGBrgb(98, 140, 234)
HSLhsl(221, 76%, 65%)
HSVhsv(221, 58%, 92%)
CMYKcmyk(58.1%, 40.2%, 0%, 8.2%)
CIE-LABlab(59.24, 13.29, -51.90)
CIE-LCHlch(59.24, 53.58, 284.37°)
OKLaboklab(65.31% -0.0142 -0.1475)
OKLCHoklch(65.31% 0.148 264.5)
XYZxyz(29.2613, 27.2909, 81.5516)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CEA #EAC062
analogous
#62D0EA #628CEA #7C62EA
triadic
#628CEA #EA628C #8CEA62
tetradic
#628CEA #EA62D0 #EAC062 #62EA7C
square
#628CEA #EA62D0 #EAC062 #62EA7C
split-complementary
#628CEA #EA7C62 #D0EA62
monochromatic
#194AB9 #2C64E3 #628CEA #98B4F1 #CEDBF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628CEA#FFFFFF#000000##000000
##628CEA1.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)
#6395EE
Deuteranopia (green-blind)
#5189E8
Tritanopia (blue-blind)
#00A1B0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628cea;
/* rgb */ color: rgb(98, 140, 234);
/* oklch */ color: oklch(65.3% 0.148 264.5);
Tailwind
colors: {
  custom: {
    50: '#99adf1',
    500: '#628cea',
    950: '#000000',
  },
}
SCSS
$custom: #628cea;
$custom-light: #99adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#628cea",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 234
  },
  "hsl": {
    "h": 221.471,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65309,
    "c": 0.14817,
    "h": 264.5
  },
  "luminance": 0.27293
}

Semantic roles & 50–950 ramp

primary
#628CEA
secondary
#EBDDBD
accent
#9A0DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #628CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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