#627DFC#627DFC

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

Color values

HEX#627DFC
RGBrgb(98, 125, 252)
HSLhsl(229, 96%, 69%)
HSVhsv(229, 61%, 99%)
CMYKcmyk(61.1%, 50.4%, 0%, 1.2%)
CIE-LABlab(56.38, 28.22, -66.45)
CIE-LCHlch(56.38, 72.19, 293.01°)
OKLaboklab(63.46% 0.0034 -0.1904)
OKLCHoklch(63.46% 0.19 271)
XYZxyz(29.9354, 24.2897, 95.1874)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627DFC #FCE162
analogous
#62CAFC #627DFC #9462FC
triadic
#627DFC #FC627D #7DFC62
tetradic
#627DFC #FC62CA #FCE162 #62FC94
square
#627DFC #FC62CA #FCE162 #62FC94
split-complementary
#627DFC #FC9462 #CAFC62
monochromatic
#042BDF #264BFB #627DFC #9EAFFD #DAE0FE

Accessibility & contrast

On white

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

On black

5.86
#627DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627DFC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627DFC#FFFFFF#000000##000000
##627DFC1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#358EFF
Deuteranopia (green-blind)
#0081F9
Tritanopia (blue-blind)
#009AB1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #627dfc;
/* rgb */ color: rgb(98, 125, 252);
/* oklch */ color: oklch(63.5% 0.190 271.0);
Tailwind
colors: {
  custom: {
    50: '#9ca2fe',
    500: '#627dfc',
    950: '#000000',
  },
}
SCSS
$custom: #627dfc;
$custom-light: #9ca2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#627dfc",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 229.481,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63455,
    "c": 0.19043,
    "h": 271
  },
  "luminance": 0.24292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #627DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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