#627FD7#627FD7

#627FD7 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.5% C 0.138 H 268.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#627FD7
RGBrgb(98, 127, 215)
HSLhsl(225, 59%, 61%)
HSVhsv(225, 54%, 84%)
CMYKcmyk(54.4%, 40.9%, 0%, 15.7%)
CIE-LABlab(54.74, 14.96, -48.43)
CIE-LCHlch(54.74, 50.69, 287.17°)
OKLaboklab(61.51% -0.0038 -0.1375)
OKLCHoklch(61.51% 0.138 268.4)
XYZxyz(24.8881, 22.6799, 67.3430)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627FD7 #D7BA62
analogous
#62BAD7 #627FD7 #8062D7
triadic
#627FD7 #D7627F #7FD762
tetradic
#627FD7 #D762BA #D7BA62 #62D780
square
#627FD7 #D762BA #D7BA62 #62D780
split-complementary
#627FD7 #D78062 #BAD762
monochromatic
#274398 #3358C9 #627FD7 #93A7E3 #C4CFF0

Accessibility & contrast

On white

3.79
#627FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#627FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627FD7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627FD7#FFFFFF#000000##000000
##627FD71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A89DA
Deuteranopia (green-blind)
#4C7ED5
Tritanopia (blue-blind)
#2192A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627fd7;
/* rgb */ color: rgb(98, 127, 215);
/* oklch */ color: oklch(61.5% 0.138 268.4);
Tailwind
colors: {
  custom: {
    50: '#96a3e4',
    500: '#627fd7',
    950: '#000000',
  },
}
SCSS
$custom: #627fd7;
$custom-light: #96a3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#627fd7",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 225.128,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61513,
    "c": 0.13751,
    "h": 268.4
  },
  "luminance": 0.22682
}

Semantic roles & 50–950 ramp

primary
#627FD7
secondary
#E0D5B5
accent
#9D1EC7
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0E0F15
muted
#7E7F84

Preview Lab

Preview with #627FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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