#627FD5#627FD5

#627FD5 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.4% C 0.135 H 268.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#627FD5
RGBrgb(98, 127, 213)
HSLhsl(225, 58%, 61%)
HSVhsv(225, 54%, 84%)
CMYKcmyk(54%, 40.4%, 0%, 16.5%)
CIE-LABlab(54.63, 14.32, -47.48)
CIE-LCHlch(54.63, 49.59, 286.79°)
OKLaboklab(61.4% -0.0042 -0.1346)
OKLCHoklch(61.4% 0.135 268.2)
XYZxyz(24.6326, 22.5777, 65.9978)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627FD5 #D5B862
analogous
#62B8D5 #627FD5 #7E62D5
triadic
#627FD5 #D5627F #7FD562
tetradic
#627FD5 #D562B8 #D5B862 #62D57E
square
#627FD5 #D562B8 #D5B862 #62D57E
split-complementary
#627FD5 #D57E62 #B8D562
monochromatic
#284395 #3559C5 #627FD5 #92A6E2 #C3CEEF

Accessibility & contrast

On white

3.81
#627FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#627FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627FD5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627FD5#FFFFFF#000000##000000
##627FD51.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B88D8
Deuteranopia (green-blind)
#4E7ED3
Tritanopia (blue-blind)
#2592A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627fd5;
/* rgb */ color: rgb(98, 127, 213);
/* oklch */ color: oklch(61.4% 0.135 268.2);
Tailwind
colors: {
  custom: {
    50: '#96a3e2',
    500: '#627fd5',
    950: '#000000',
  },
}
SCSS
$custom: #627fd5;
$custom-light: #96a3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#627fd5",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 213
  },
  "hsl": {
    "h": 224.87,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61396,
    "c": 0.13471,
    "h": 268.2
  },
  "luminance": 0.2258
}

Semantic roles & 50–950 ramp

primary
#627FD5
secondary
#DFD4B4
accent
#9C20C5
background
#F9FAFD
surface
#F2F3FB
border
#CCCDD4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #627FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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