#628DEF#628DEF

#628DEF is a light, vivid blue. Relative luminance 0.279; OKLCH L 65.8% C 0.154 H 264.7°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#628DEF
RGBrgb(98, 141, 239)
HSLhsl(222, 82%, 66%)
HSVhsv(222, 59%, 94%)
CMYKcmyk(59%, 41%, 0%, 6.3%)
CIE-LABlab(59.78, 14.33, -53.82)
CIE-LCHlch(59.78, 55.69, 284.90°)
OKLaboklab(65.81% -0.0143 -0.1531)
OKLCHoklch(65.81% 0.154 264.7)
XYZxyz(30.1365, 27.8759, 85.4371)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628DEF #EFC462
analogous
#62D3EF #628DEF #7D62EF
triadic
#628DEF #EF628D #8DEF62
tetradic
#628DEF #EF62D3 #EFC462 #62EF7D
square
#628DEF #EF62D3 #EFC462 #62EF7D
split-complementary
#628DEF #EF7D62 #D3EF62
monochromatic
#1449C3 #2A65E9 #628DEF #9AB5F5 #D1DEFA

Accessibility & contrast

On white

3.19
#628DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#628DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628DEF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628DEF#FFFFFF#000000##000000
##628DEF1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#4F8AED
Tritanopia (blue-blind)
#00A3B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #628def;
/* rgb */ color: rgb(98, 141, 239);
/* oklch */ color: oklch(65.8% 0.154 264.7);
Tailwind
colors: {
  custom: {
    50: '#99adf5',
    500: '#628def',
    950: '#000000',
  },
}
SCSS
$custom: #628def;
$custom-light: #99adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#628def",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 221.702,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65807,
    "c": 0.15376,
    "h": 264.7
  },
  "luminance": 0.27878
}

Semantic roles & 50–950 ramp

primary
#628DEF
secondary
#EEDFBF
accent
#9D08DE
background
#FAFAFF
surface
#F3F4FE
border
#CDCED6
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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