#627CD8#627CD8

#627CD8 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.0% C 0.143 H 269.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#627CD8
RGBrgb(98, 124, 216)
HSLhsl(227, 60%, 62%)
HSVhsv(227, 55%, 85%)
CMYKcmyk(54.6%, 42.6%, 0%, 15.3%)
CIE-LABlab(53.99, 17.10, -50.19)
CIE-LCHlch(53.99, 53.02, 288.81°)
OKLaboklab(60.96% -0.0003 -0.1426)
OKLCHoklch(60.96% 0.143 269.9)
XYZxyz(24.6352, 21.9681, 67.8945)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CD8 #D8BE62
analogous
#62B7D8 #627CD8 #8362D8
triadic
#627CD8 #D8627C #7CD862
tetradic
#627CD8 #D862B7 #D8BE62 #62D883
square
#627CD8 #D862B7 #D8BE62 #62D883
split-complementary
#627CD8 #D88362 #B7D862
monochromatic
#264099 #3254CA #627CD8 #93A5E4 #C4CEF0

Accessibility & contrast

On white

3.89
#627CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#627CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CD8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CD8#FFFFFF#000000##000000
##627CD81.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5587DC
Deuteranopia (green-blind)
#467CD6
Tritanopia (blue-blind)
#21909F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #627cd8;
/* rgb */ color: rgb(98, 124, 216);
/* oklch */ color: oklch(61.0% 0.143 269.9);
Tailwind
colors: {
  custom: {
    50: '#97a1e4',
    500: '#627cd8',
    950: '#000000',
  },
}
SCSS
$custom: #627cd8;
$custom-light: #97a1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#627cd8",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 226.78,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60956,
    "c": 0.14263,
    "h": 269.9
  },
  "luminance": 0.2197
}

Semantic roles & 50–950 ramp

primary
#627CD8
secondary
#E1D7B5
accent
#A21EC8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #627CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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