#627DC7#627DC7

#627DC7 is a mid, moderate blue. Relative luminance 0.214; OKLCH L 60.2% C 0.117 H 267.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#627DC7
RGBrgb(98, 125, 199)
HSLhsl(224, 47%, 58%)
HSVhsv(224, 51%, 78%)
CMYKcmyk(50.8%, 37.2%, 0%, 22%)
CIE-LABlab(53.37, 11.10, -41.54)
CIE-LCHlch(53.37, 43.00, 284.96°)
OKLaboklab(60.19% -0.0048 -0.1173)
OKLCHoklch(60.19% 0.117 267.6)
XYZxyz(22.6761, 21.3859, 56.9547)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627DC7 #C7AC62
analogous
#62B0C7 #627DC7 #7962C7
triadic
#627DC7 #C7627D #7DC762
tetradic
#627DC7 #C762B0 #C7AC62 #62C779
square
#627DC7 #C762B0 #C7AC62 #62C779
split-complementary
#627DC7 #C77962 #B0C762
monochromatic
#2E4481 #3E5CAE #627DC7 #8FA2D7 #BCC8E7

Accessibility & contrast

On white

3.98
#627DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#627DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627DC7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627DC7#FFFFFF#000000##000000
##627DC71.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6084CA
Deuteranopia (green-blind)
#557BC5
Tritanopia (blue-blind)
#358D98
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #627dc7;
/* rgb */ color: rgb(98, 125, 199);
/* oklch */ color: oklch(60.2% 0.117 267.6);
Tailwind
colors: {
  custom: {
    50: '#94a2d8',
    500: '#627dc7',
    950: '#000000',
  },
}
SCSS
$custom: #627dc7;
$custom-light: #94a2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#627dc7",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 223.96,
    "s": 47.418,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.11744,
    "h": 267.6
  },
  "luminance": 0.21387
}

Semantic roles & 50–950 ramp

primary
#627DC7
secondary
#D7CCAE
accent
#B351D7
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0F14
muted
#7E7E83

Preview Lab

Preview with #627DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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