#627CD6#627CD6

#627CD6 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.8% C 0.140 H 269.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#627CD6
RGBrgb(98, 124, 214)
HSLhsl(227, 59%, 61%)
HSVhsv(227, 54%, 84%)
CMYKcmyk(54.2%, 42.1%, 0%, 16.1%)
CIE-LABlab(53.88, 16.46, -49.23)
CIE-LCHlch(53.88, 51.91, 288.48°)
OKLaboklab(60.84% -0.0006 -0.1398)
OKLCHoklch(60.84% 0.14 269.7)
XYZxyz(24.3783, 21.8653, 66.5411)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CD6 #D6BC62
analogous
#62B6D6 #627CD6 #8262D6
triadic
#627CD6 #D6627C #7CD662
tetradic
#627CD6 #D662B6 #D6BC62 #62D682
square
#627CD6 #D662B6 #D6BC62 #62D682
split-complementary
#627CD6 #D68262 #B6D662
monochromatic
#274096 #3455C7 #627CD6 #93A4E3 #C3CDEF

Accessibility & contrast

On white

3.91
#627CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#627CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CD6
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CD6#FFFFFF#000000##000000
##627CD61.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5686D9
Deuteranopia (green-blind)
#487CD4
Tritanopia (blue-blind)
#24909E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #627cd6;
/* rgb */ color: rgb(98, 124, 214);
/* oklch */ color: oklch(60.8% 0.140 269.7);
Tailwind
colors: {
  custom: {
    50: '#96a1e3',
    500: '#627cd6',
    950: '#000000',
  },
}
SCSS
$custom: #627cd6;
$custom-light: #96a1e3;
$custom-dark: #000000;
JSON
{
  "hex": "#627cd6",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 226.552,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60837,
    "c": 0.13983,
    "h": 269.7
  },
  "luminance": 0.21867
}

Semantic roles & 50–950 ramp

primary
#627CD6
secondary
#E0D6B4
accent
#A11FC6
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #627CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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