#627CD5#627CD5

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

Color values

HEX#627CD5
RGBrgb(98, 124, 213)
HSLhsl(226, 58%, 61%)
HSVhsv(226, 54%, 84%)
CMYKcmyk(54%, 41.8%, 0%, 16.5%)
CIE-LABlab(53.83, 16.14, -48.76)
CIE-LCHlch(53.83, 51.36, 288.31°)
OKLaboklab(60.78% -0.0008 -0.1384)
OKLCHoklch(60.78% 0.138 269.7)
XYZxyz(24.2509, 21.8143, 65.8706)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CD5 #D5BB62
analogous
#62B5D5 #627CD5 #8162D5
triadic
#627CD5 #D5627C #7CD562
tetradic
#627CD5 #D562B5 #D5BB62 #62D581
square
#627CD5 #D562B5 #D5BB62 #62D581
split-complementary
#627CD5 #D58162 #B5D562
monochromatic
#284095 #3555C5 #627CD5 #92A4E2 #C3CDEF

Accessibility & contrast

On white

3.92
#627CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#627CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CD5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CD5#FFFFFF#000000##000000
##627CD51.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5786D8
Deuteranopia (green-blind)
#497CD3
Tritanopia (blue-blind)
#258F9E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #627cd5;
/* rgb */ color: rgb(98, 124, 213);
/* oklch */ color: oklch(60.8% 0.138 269.7);
Tailwind
colors: {
  custom: {
    50: '#96a1e2',
    500: '#627cd5',
    950: '#000000',
  },
}
SCSS
$custom: #627cd5;
$custom-light: #96a1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#627cd5",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 226.435,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60777,
    "c": 0.13843,
    "h": 269.7
  },
  "luminance": 0.21816
}

Semantic roles & 50–950 ramp

primary
#627CD5
secondary
#DFD5B4
accent
#A020C5
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #627CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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