#627EC7#627EC7

#627EC7 is a mid, moderate blue. Relative luminance 0.216; OKLCH L 60.4% C 0.116 H 267.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#627EC7
RGBrgb(98, 126, 199)
HSLhsl(223, 47%, 58%)
HSVhsv(223, 51%, 78%)
CMYKcmyk(50.8%, 36.7%, 0%, 22%)
CIE-LABlab(53.64, 10.50, -41.11)
CIE-LCHlch(53.64, 42.43, 284.33°)
OKLaboklab(60.4% -0.006 -0.1161)
OKLCHoklch(60.4% 0.116 267)
XYZxyz(22.8033, 21.6404, 56.9972)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627EC7 #C7AB62
analogous
#62B1C7 #627EC7 #7862C7
triadic
#627EC7 #C7627E #7EC762
tetradic
#627EC7 #C762B1 #C7AB62 #62C778
square
#627EC7 #C762B1 #C7AB62 #62C778
split-complementary
#627EC7 #C77862 #B1C762
monochromatic
#2E4581 #3E5DAE #627EC7 #8FA3D7 #BCC8E7

Accessibility & contrast

On white

3.94
#627EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#627EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627EC7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627EC7#FFFFFF#000000##000000
##627EC71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6285CA
Deuteranopia (green-blind)
#577CC5
Tritanopia (blue-blind)
#358E99
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #627ec7;
/* rgb */ color: rgb(98, 126, 199);
/* oklch */ color: oklch(60.4% 0.116 267.0);
Tailwind
colors: {
  custom: {
    50: '#94a3d8',
    500: '#627ec7',
    950: '#000000',
  },
}
SCSS
$custom: #627ec7;
$custom-light: #94a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#627ec7",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 223.366,
    "s": 47.418,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60397,
    "c": 0.11623,
    "h": 267
  },
  "luminance": 0.21642
}

Semantic roles & 50–950 ramp

primary
#627EC7
secondary
#D7CBAE
accent
#B251D7
background
#F9FAFD
surface
#F2F3FA
border
#CCCDD3
text
#0E0F14
muted
#7E7F83

Preview Lab

Preview with #627EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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