#627BF8#627BF8

#627BF8 is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.8% C 0.188 H 271.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#627BF8
RGBrgb(98, 123, 248)
HSLhsl(230, 91%, 68%)
HSVhsv(230, 60%, 97%)
CMYKcmyk(60.5%, 50.4%, 0%, 2.7%)
CIE-LABlab(55.62, 28.12, -65.45)
CIE-LCHlch(55.62, 71.24, 293.25°)
OKLaboklab(62.8% 0.0049 -0.1875)
OKLCHoklch(62.8% 0.188 271.5)
XYZxyz(29.0576, 23.5375, 91.8007)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BF8 #F8DF62
analogous
#62C6F8 #627BF8 #9462F8
triadic
#627BF8 #F8627B #7BF862
tetradic
#627BF8 #F862C6 #F8DF62 #62F894
square
#627BF8 #F862C6 #F8DF62 #62F894
split-complementary
#627BF8 #F89462 #C6F862
monochromatic
#0A2CD6 #274AF5 #627BF8 #9DACFB #D7DEFD

Accessibility & contrast

On white

3.68
#627BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#627BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BF8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BF8#FFFFFF#000000##000000
##627BF81.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#348CFC
Deuteranopia (green-blind)
#047FF5
Tritanopia (blue-blind)
#0098AE
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #627bf8;
/* rgb */ color: rgb(98, 123, 248);
/* oklch */ color: oklch(62.8% 0.188 271.5);
Tailwind
colors: {
  custom: {
    50: '#9ba0fb',
    500: '#627bf8',
    950: '#000000',
  },
}
SCSS
$custom: #627bf8;
$custom-light: #9ba0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#627bf8",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 230,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62804,
    "c": 0.18756,
    "h": 271.5
  },
  "luminance": 0.2354
}

Semantic roles & 50–950 ramp

primary
#627BF8
secondary
#F2EAC4
accent
#BF00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #627BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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