#627ED5#627ED5

#627ED5 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.2% C 0.136 H 268.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#627ED5
RGBrgb(98, 126, 213)
HSLhsl(225, 58%, 61%)
HSVhsv(225, 54%, 84%)
CMYKcmyk(54%, 40.8%, 0%, 16.5%)
CIE-LABlab(54.37, 14.93, -47.90)
CIE-LCHlch(54.37, 50.17, 287.31°)
OKLaboklab(61.19% -0.0031 -0.1359)
OKLCHoklch(61.19% 0.136 268.7)
XYZxyz(24.5041, 22.3207, 65.9550)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627ED5 #D5B962
analogous
#62B7D5 #627ED5 #7F62D5
triadic
#627ED5 #D5627E #7ED562
tetradic
#627ED5 #D562B7 #D5B962 #62D57F
square
#627ED5 #D562B7 #D5B962 #62D57F
split-complementary
#627ED5 #D57F62 #B7D562
monochromatic
#284295 #3558C5 #627ED5 #92A6E2 #C3CDEF

Accessibility & contrast

On white

3.84
#627ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#627ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627ED5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627ED5#FFFFFF#000000##000000
##627ED51.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A87D8
Deuteranopia (green-blind)
#4C7DD3
Tritanopia (blue-blind)
#25919F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #627ed5;
/* rgb */ color: rgb(98, 126, 213);
/* oklch */ color: oklch(61.2% 0.136 268.7);
Tailwind
colors: {
  custom: {
    50: '#96a3e2',
    500: '#627ed5',
    950: '#000000',
  },
}
SCSS
$custom: #627ed5;
$custom-light: #96a3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#627ed5",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 213
  },
  "hsl": {
    "h": 225.391,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61189,
    "c": 0.13594,
    "h": 268.7
  },
  "luminance": 0.22322
}

Semantic roles & 50–950 ramp

primary
#627ED5
secondary
#DFD5B4
accent
#9D20C5
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #627ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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