#627EEB#627EEB

#627EEB is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.5% C 0.166 H 270.2°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#627EEB
RGBrgb(98, 126, 235)
HSLhsl(228, 77%, 65%)
HSVhsv(228, 58%, 92%)
CMYKcmyk(58.3%, 46.4%, 0%, 7.8%)
CIE-LABlab(55.60, 22.04, -58.27)
CIE-LCHlch(55.60, 62.30, 290.72°)
OKLaboklab(62.53% 0.0005 -0.1663)
OKLCHoklch(62.53% 0.166 270.2)
XYZxyz(27.4883, 23.5144, 81.6713)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627EEB #EBCF62
analogous
#62C3EB #627EEB #8A62EB
triadic
#627EEB #EB627E #7EEB62
tetradic
#627EEB #EB62C3 #EBCF62 #62EB8A
square
#627EEB #EB62C3 #EBCF62 #62EB8A
split-complementary
#627EEB #EB8A62 #C3EB62
monochromatic
#1839BB #2C51E4 #627EEB #98ABF2 #CFD7F9

Accessibility & contrast

On white

3.68
#627EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#627EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627EEB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627EEB#FFFFFF#000000##000000
##627EEB1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CEF
Deuteranopia (green-blind)
#357FE9
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #627eeb;
/* rgb */ color: rgb(98, 126, 235);
/* oklch */ color: oklch(62.5% 0.166 270.2);
Tailwind
colors: {
  custom: {
    50: '#99a3f2',
    500: '#627eeb',
    950: '#000000',
  },
}
SCSS
$custom: #627eeb;
$custom-light: #99a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#627eeb",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 227.737,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62532,
    "c": 0.16635,
    "h": 270.2
  },
  "luminance": 0.23517
}

Semantic roles & 50–950 ramp

primary
#627EEB
secondary
#EBE2BD
accent
#B00CDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #627EEB

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

Preview Lab → · Contrast checker → · Palette generator →

#627EEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva