#627BD7#627BD7

#627BD7 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.7% C 0.142 H 270.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#627BD7
RGBrgb(98, 123, 215)
HSLhsl(227, 59%, 61%)
HSVhsv(227, 54%, 84%)
CMYKcmyk(54.4%, 42.8%, 0%, 15.7%)
CIE-LABlab(53.67, 17.39, -50.14)
CIE-LCHlch(53.67, 53.06, 289.13°)
OKLaboklab(60.69% 0.0007 -0.1425)
OKLCHoklch(60.69% 0.142 270.3)
XYZxyz(24.3817, 21.6671, 67.1742)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BD7 #D7BE62
analogous
#62B6D7 #627BD7 #8462D7
triadic
#627BD7 #D7627B #7BD762
tetradic
#627BD7 #D762B6 #D7BE62 #62D784
square
#627BD7 #D762B6 #D7BE62 #62D784
split-complementary
#627BD7 #D78462 #B6D762
monochromatic
#273F98 #3353C9 #627BD7 #93A4E3 #C4CDF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627BD7#FFFFFF#000000##000000
##627BD71.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)
#5486DB
Deuteranopia (green-blind)
#467BD5
Tritanopia (blue-blind)
#238F9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #627bd7;
/* rgb */ color: rgb(98, 123, 215);
/* oklch */ color: oklch(60.7% 0.142 270.3);
Tailwind
colors: {
  custom: {
    50: '#97a0e4',
    500: '#627bd7',
    950: '#000000',
  },
}
SCSS
$custom: #627bd7;
$custom-light: #97a0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#627bd7",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 215
  },
  "hsl": {
    "h": 227.179,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60692,
    "c": 0.14248,
    "h": 270.3
  },
  "luminance": 0.21669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #627BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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