#628EEC#628EEC

#628EEC is a light, vivid blue. Relative luminance 0.280; OKLCH L 65.8% C 0.149 H 263.9°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#628EEC
RGBrgb(98, 142, 236)
HSLhsl(221, 78%, 65%)
HSVhsv(221, 58%, 93%)
CMYKcmyk(58.5%, 39.8%, 0%, 7.5%)
CIE-LABlab(59.89, 12.75, -51.99)
CIE-LCHlch(59.89, 53.53, 283.78°)
OKLaboklab(65.84% -0.0159 -0.1477)
OKLCHoklch(65.84% 0.149 263.9)
XYZxyz(29.8451, 27.9963, 83.1717)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EEC #ECC062
analogous
#62D3EC #628EEC #7B62EC
triadic
#628EEC #EC628E #8EEC62
tetradic
#628EEC #EC62D3 #ECC062 #62EC7B
square
#628EEC #EC62D3 #ECC062 #62EC7B
split-complementary
#628EEC #EC7B62 #D3EC62
monochromatic
#174CBD #2B67E5 #628EEC #99B5F3 #CFDDF9

Accessibility & contrast

On white

3.18
#628EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#628EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EEC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EEC#FFFFFF#000000##000000
##628EEC1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#538AEA
Tritanopia (blue-blind)
#00A3B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #628eec;
/* rgb */ color: rgb(98, 142, 236);
/* oklch */ color: oklch(65.8% 0.149 263.9);
Tailwind
colors: {
  custom: {
    50: '#99aef2',
    500: '#628eec',
    950: '#000000',
  },
}
SCSS
$custom: #628eec;
$custom-light: #99aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#628eec",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 236
  },
  "hsl": {
    "h": 220.87,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65839,
    "c": 0.14857,
    "h": 263.9
  },
  "luminance": 0.27999
}

Semantic roles & 50–950 ramp

primary
#628EEC
secondary
#ECDDBE
accent
#980BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #628EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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