#628CEE#628CEE

#628CEE is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.5% C 0.154 H 265.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#628CEE
RGBrgb(98, 140, 238)
HSLhsl(222, 80%, 66%)
HSVhsv(222, 59%, 93%)
CMYKcmyk(58.8%, 41.2%, 0%, 6.7%)
CIE-LABlab(59.46, 14.60, -53.78)
CIE-LCHlch(59.46, 55.72, 285.18°)
OKLaboklab(65.54% -0.0134 -0.153)
OKLCHoklch(65.54% 0.154 265)
XYZxyz(29.8424, 27.5234, 84.6123)
Luminance0.2753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CEE #EEC462
analogous
#62D2EE #628CEE #7E62EE
triadic
#628CEE #EE628C #8CEE62
tetradic
#628CEE #EE62D2 #EEC462 #62EE7E
square
#628CEE #EE62D2 #EEC462 #62EE7E
split-complementary
#628CEE #EE7E62 #D2EE62
monochromatic
#1548C1 #2B64E8 #628CEE #99B4F4 #D0DDFA

Accessibility & contrast

On white

3.23
#628CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#628CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CEE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CEE#FFFFFF#000000##000000
##628CEE1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F2
Deuteranopia (green-blind)
#4E89EC
Tritanopia (blue-blind)
#00A2B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628cee;
/* rgb */ color: rgb(98, 140, 238);
/* oklch */ color: oklch(65.5% 0.154 265.0);
Tailwind
colors: {
  custom: {
    50: '#99adf4',
    500: '#628cee',
    950: '#000000',
  },
}
SCSS
$custom: #628cee;
$custom-light: #99adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#628cee",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 222,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65542,
    "c": 0.15358,
    "h": 265
  },
  "luminance": 0.27526
}

Semantic roles & 50–950 ramp

primary
#628CEE
secondary
#EDDFBF
accent
#9D09DD
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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