#628CEC#628CEC

#628CEC is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.4% C 0.151 H 264.8°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#628CEC
RGBrgb(98, 140, 236)
HSLhsl(222, 78%, 65%)
HSVhsv(222, 58%, 93%)
CMYKcmyk(58.5%, 40.7%, 0%, 7.5%)
CIE-LABlab(59.35, 13.94, -52.84)
CIE-LCHlch(59.35, 54.65, 284.78°)
OKLaboklab(65.43% -0.0138 -0.1502)
OKLCHoklch(65.43% 0.151 264.8)
XYZxyz(29.5502, 27.4065, 83.0734)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CEC #ECC262
analogous
#62D1EC #628CEC #7D62EC
triadic
#628CEC #EC628C #8CEC62
tetradic
#628CEC #EC62D1 #ECC262 #62EC7D
square
#628CEC #EC62D1 #ECC262 #62EC7D
split-complementary
#628CEC #EC7D62 #D1EC62
monochromatic
#1749BD #2B64E5 #628CEC #99B4F3 #CFDCF9

Accessibility & contrast

On white

3.24
#628CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#628CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CEC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CEC#FFFFFF#000000##000000
##628CEC1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F0
Deuteranopia (green-blind)
#5089EA
Tritanopia (blue-blind)
#00A1B0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628cec;
/* rgb */ color: rgb(98, 140, 236);
/* oklch */ color: oklch(65.4% 0.151 264.8);
Tailwind
colors: {
  custom: {
    50: '#99adf2',
    500: '#628cec',
    950: '#000000',
  },
}
SCSS
$custom: #628cec;
$custom-light: #99adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#628cec",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 236
  },
  "hsl": {
    "h": 221.739,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65425,
    "c": 0.15087,
    "h": 264.8
  },
  "luminance": 0.27409
}

Semantic roles & 50–950 ramp

primary
#628CEC
secondary
#ECDEBE
accent
#9B0BDB
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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