#628CE1#628CE1

#628CE1 is a light, vivid blue. Relative luminance 0.268; OKLCH L 64.8% C 0.136 H 263.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#628CE1
RGBrgb(98, 140, 225)
HSLhsl(220, 68%, 63%)
HSVhsv(220, 56%, 88%)
CMYKcmyk(56.4%, 37.8%, 0%, 11.8%)
CIE-LABlab(58.78, 10.38, -47.64)
CIE-LCHlch(58.78, 48.76, 282.30°)
OKLaboklab(64.8% -0.0161 -0.135)
OKLCHoklch(64.8% 0.136 263.2)
XYZxyz(28.0010, 26.7868, 74.9144)
Luminance0.2679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CE1 #E1B762
analogous
#62CCE1 #628CE1 #7762E1
triadic
#628CE1 #E1628C #8CE162
tetradic
#628CE1 #E162CC #E1B762 #62E177
square
#628CE1 #E162CC #E1B762 #62E177
split-complementary
#628CE1 #E17762 #CCE162
monochromatic
#204DA8 #2F66D7 #628CE1 #95B2EB #C9D7F5

Accessibility & contrast

On white

3.30
#628CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#628CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CE1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CE1#FFFFFF#000000##000000
##628CE11.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6994E4
Deuteranopia (green-blind)
#5988DF
Tritanopia (blue-blind)
#009FAC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #628ce1;
/* rgb */ color: rgb(98, 140, 225);
/* oklch */ color: oklch(64.8% 0.136 263.2);
Tailwind
colors: {
  custom: {
    50: '#97adeb',
    500: '#628ce1',
    950: '#000000',
  },
}
SCSS
$custom: #628ce1;
$custom-light: #97adeb;
$custom-dark: #000000;
JSON
{
  "hex": "#628ce1",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 225
  },
  "hsl": {
    "h": 220.157,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64797,
    "c": 0.13596,
    "h": 263.2
  },
  "luminance": 0.26789
}

Semantic roles & 50–950 ramp

primary
#628CE1
secondary
#E6D7B9
accent
#9216D0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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