#627CC7#627CC7

#627CC7 is a mid, moderate blue. Relative luminance 0.211; OKLCH L 60.0% C 0.119 H 268.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#627CC7
RGBrgb(98, 124, 199)
HSLhsl(225, 47%, 58%)
HSVhsv(225, 51%, 78%)
CMYKcmyk(50.8%, 37.7%, 0%, 22%)
CIE-LABlab(53.10, 11.71, -41.98)
CIE-LCHlch(53.10, 43.58, 285.58°)
OKLaboklab(59.97% -0.0036 -0.1186)
OKLCHoklch(59.97% 0.119 268.2)
XYZxyz(22.5501, 21.1340, 56.9128)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CC7 #C7AD62
analogous
#62AFC7 #627CC7 #7A62C7
triadic
#627CC7 #C7627C #7CC762
tetradic
#627CC7 #C762AF #C7AD62 #62C77A
square
#627CC7 #C762AF #C7AD62 #62C77A
split-complementary
#627CC7 #C77A62 #AFC762
monochromatic
#2E4381 #3E5BAE #627CC7 #8FA2D7 #BCC7E7

Accessibility & contrast

On white

4.02
#627CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#627CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CC7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CC7#FFFFFF#000000##000000
##627CC71.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F84CA
Deuteranopia (green-blind)
#547BC5
Tritanopia (blue-blind)
#358C98
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #627cc7;
/* rgb */ color: rgb(98, 124, 199);
/* oklch */ color: oklch(60.0% 0.119 268.2);
Tailwind
colors: {
  custom: {
    50: '#94a1d8',
    500: '#627cc7',
    950: '#000000',
  },
}
SCSS
$custom: #627cc7;
$custom-light: #94a1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#627cc7",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 199
  },
  "hsl": {
    "h": 224.554,
    "s": 47.418,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59974,
    "c": 0.11866,
    "h": 268.2
  },
  "luminance": 0.21135
}

Semantic roles & 50–950 ramp

primary
#627CC7
secondary
#D7CCAE
accent
#B451D7
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0E14
muted
#7E7E83

Preview Lab

Preview with #627CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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