#627CE6#627CE6

#627CE6 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.8% C 0.162 H 270.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#627CE6
RGBrgb(98, 124, 230)
HSLhsl(228, 73%, 64%)
HSVhsv(228, 57%, 90%)
CMYKcmyk(57.4%, 46.1%, 0%, 9.8%)
CIE-LABlab(54.79, 21.62, -56.78)
CIE-LCHlch(54.79, 60.76, 290.85°)
OKLaboklab(61.82% 0.0019 -0.162)
OKLCHoklch(61.82% 0.162 270.7)
XYZxyz(26.5228, 22.7231, 77.8359)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CE6 #E6CC62
analogous
#62BEE6 #627CE6 #8A62E6
triadic
#627CE6 #E6627C #7CE662
tetradic
#627CE6 #E662BE #E6CC62 #62E68A
square
#627CE6 #E662BE #E6CC62 #62E68A
split-complementary
#627CE6 #E68A62 #BEE662
monochromatic
#1C3AB1 #2D50DE #627CE6 #97A8EE #CCD4F7

Accessibility & contrast

On white

3.79
#627CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#627CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CE6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CE6#FFFFFF#000000##000000
##627CE61.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A89EA
Deuteranopia (green-blind)
#377EE4
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627ce6;
/* rgb */ color: rgb(98, 124, 230);
/* oklch */ color: oklch(61.8% 0.162 270.7);
Tailwind
colors: {
  custom: {
    50: '#99a1ee',
    500: '#627ce6',
    950: '#000000',
  },
}
SCSS
$custom: #627ce6;
$custom-light: #99a1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#627ce6",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 230
  },
  "hsl": {
    "h": 228.182,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61819,
    "c": 0.162,
    "h": 270.7
  },
  "luminance": 0.22725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #627CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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