#627CD7#627CD7

#627CD7 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.9% C 0.141 H 269.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#627CD7
RGBrgb(98, 124, 215)
HSLhsl(227, 59%, 61%)
HSVhsv(227, 54%, 84%)
CMYKcmyk(54.4%, 42.3%, 0%, 15.7%)
CIE-LABlab(53.94, 16.78, -49.71)
CIE-LCHlch(53.94, 52.47, 288.65°)
OKLaboklab(60.9% -0.0004 -0.1412)
OKLCHoklch(60.9% 0.141 269.8)
XYZxyz(24.5064, 21.9165, 67.2157)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CD7 #D7BD62
analogous
#62B7D7 #627CD7 #8362D7
triadic
#627CD7 #D7627C #7CD762
tetradic
#627CD7 #D762B7 #D7BD62 #62D783
square
#627CD7 #D762B7 #D7BD62 #62D783
split-complementary
#627CD7 #D78362 #B7D762
monochromatic
#274098 #3354C9 #627CD7 #93A5E3 #C4CDF0

Accessibility & contrast

On white

3.90
#627CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#627CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CD7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CD7#FFFFFF#000000##000000
##627CD71.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5586DA
Deuteranopia (green-blind)
#477CD5
Tritanopia (blue-blind)
#22909F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #627cd7;
/* rgb */ color: rgb(98, 124, 215);
/* oklch */ color: oklch(60.9% 0.141 269.8);
Tailwind
colors: {
  custom: {
    50: '#96a1e4',
    500: '#627cd7',
    950: '#000000',
  },
}
SCSS
$custom: #627cd7;
$custom-light: #96a1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#627cd7",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 226.667,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60896,
    "c": 0.14123,
    "h": 269.8
  },
  "luminance": 0.21918
}

Semantic roles & 50–950 ramp

primary
#627CD7
secondary
#E0D7B5
accent
#A21EC7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E15
muted
#7E7E84

Preview Lab

Preview with #627CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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