#628CEF#628CEF

#628CEF is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.6% C 0.155 H 265.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#628CEF
RGBrgb(98, 140, 239)
HSLhsl(222, 82%, 66%)
HSVhsv(222, 59%, 94%)
CMYKcmyk(59%, 41.4%, 0%, 6.3%)
CIE-LABlab(59.51, 14.92, -54.25)
CIE-LCHlch(59.51, 56.26, 285.38°)
OKLaboklab(65.6% -0.0132 -0.1544)
OKLCHoklch(65.6% 0.155 265.1)
XYZxyz(29.9897, 27.5823, 85.3881)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CEF #EFC562
analogous
#62D2EF #628CEF #7E62EF
triadic
#628CEF #EF628C #8CEF62
tetradic
#628CEF #EF62D2 #EFC562 #62EF7E
square
#628CEF #EF62D2 #EFC562 #62EF7E
split-complementary
#628CEF #EF7E62 #D2EF62
monochromatic
#1448C3 #2A63E9 #628CEF #9AB5F5 #D1DDFA

Accessibility & contrast

On white

3.22
#628CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#628CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CEF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CEF#FFFFFF#000000##000000
##628CEF1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#4D89ED
Tritanopia (blue-blind)
#00A2B2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628cef;
/* rgb */ color: rgb(98, 140, 239);
/* oklch */ color: oklch(65.6% 0.155 265.1);
Tailwind
colors: {
  custom: {
    50: '#99adf5',
    500: '#628cef',
    950: '#000000',
  },
}
SCSS
$custom: #628cef;
$custom-light: #99adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#628cef",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 222.128,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65601,
    "c": 0.15493,
    "h": 265.1
  },
  "luminance": 0.27585
}

Semantic roles & 50–950 ramp

primary
#628CEF
secondary
#EEE0BF
accent
#9E08DE
background
#FAFAFF
surface
#F3F4FE
border
#CDCED6
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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