#627DFD#627DFD

#627DFD is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.5% C 0.192 H 271.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#627DFD
RGBrgb(98, 125, 253)
HSLhsl(230, 97%, 69%)
HSVhsv(230, 61%, 99%)
CMYKcmyk(61.3%, 50.6%, 0%, 0.8%)
CIE-LABlab(56.44, 28.55, -66.90)
CIE-LCHlch(56.44, 72.74, 293.11°)
OKLaboklab(63.52% 0.0034 -0.1917)
OKLCHoklch(63.52% 0.192 271)
XYZxyz(30.0943, 24.3532, 96.0242)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627DFD #FDE262
analogous
#62CBFD #627DFD #9562FD
triadic
#627DFD #FD627D #7DFD62
tetradic
#627DFD #FD62CB #FDE262 #62FD95
square
#627DFD #FD62CB #FDE262 #62FD95
split-complementary
#627DFD #FD9562 #CBFD62
monochromatic
#032AE2 #264BFC #627DFD #9EAFFE #DBE1FF

Accessibility & contrast

On white

3.58
#627DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#627DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627DFD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627DFD#FFFFFF#000000##000000
##627DFD1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#338FFF
Deuteranopia (green-blind)
#0081FA
Tritanopia (blue-blind)
#009BB1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #627dfd;
/* rgb */ color: rgb(98, 125, 253);
/* oklch */ color: oklch(63.5% 0.192 271.0);
Tailwind
colors: {
  custom: {
    50: '#9ca2ff',
    500: '#627dfd',
    950: '#000000',
  },
}
SCSS
$custom: #627dfd;
$custom-light: #9ca2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#627dfd",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 229.548,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63522,
    "c": 0.19175,
    "h": 271
  },
  "luminance": 0.24356
}

Semantic roles & 50–950 ramp

primary
#627DFD
secondary
#F4ECC6
accent
#BE00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0F18
muted
#7F7E86

Preview Lab

Preview with #627DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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