#627CE7#627CE7

#627CE7 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.9% C 0.163 H 270.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#627CE7
RGBrgb(98, 124, 231)
HSLhsl(228, 73%, 65%)
HSVhsv(228, 58%, 91%)
CMYKcmyk(57.6%, 46.3%, 0%, 9.4%)
CIE-LABlab(54.84, 21.95, -57.25)
CIE-LCHlch(54.84, 61.31, 290.98°)
OKLaboklab(61.88% 0.002 -0.1634)
OKLCHoklch(61.88% 0.163 270.7)
XYZxyz(26.6637, 22.7794, 78.5776)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CE7 #E7CD62
analogous
#62BEE7 #627CE7 #8B62E7
triadic
#627CE7 #E7627C #7CE762
tetradic
#627CE7 #E762BE #E7CD62 #62E78B
square
#627CE7 #E762BE #E7CD62 #62E78B
split-complementary
#627CE7 #E78B62 #BEE762
monochromatic
#1B39B3 #2D50DF #627CE7 #97A8EF #CCD5F7

Accessibility & contrast

On white

3.78
#627CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#627CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CE7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CE7#FFFFFF#000000##000000
##627CE71.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4989EB
Deuteranopia (green-blind)
#357EE5
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627ce7;
/* rgb */ color: rgb(98, 124, 231);
/* oklch */ color: oklch(61.9% 0.163 270.7);
Tailwind
colors: {
  custom: {
    50: '#99a1ef',
    500: '#627ce7',
    950: '#000000',
  },
}
SCSS
$custom: #627ce7;
$custom-light: #99a1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#627ce7",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 231
  },
  "hsl": {
    "h": 228.271,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61882,
    "c": 0.16337,
    "h": 270.7
  },
  "luminance": 0.22781
}

Semantic roles & 50–950 ramp

primary
#627CE7
secondary
#E9E0BB
accent
#AF10D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #627CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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