#627AFB#627AFB

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

Color values

HEX#627AFB
RGBrgb(98, 122, 251)
HSLhsl(231, 95%, 68%)
HSVhsv(231, 61%, 98%)
CMYKcmyk(61%, 51.4%, 0%, 1.6%)
CIE-LABlab(55.56, 29.70, -67.21)
CIE-LCHlch(55.56, 73.48, 293.84°)
OKLaboklab(62.82% 0.0061 -0.1927)
OKLCHoklch(62.82% 0.193 271.8)
XYZxyz(29.4033, 23.4783, 94.2304)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627AFB #FBE362
analogous
#62C6FB #627AFB #9662FB
triadic
#627AFB #FB627A #7AFB62
tetradic
#627AFB #FB62C6 #FBE362 #62FB96
square
#627AFB #FB62C6 #FBE362 #62FB96
split-complementary
#627AFB #FB9662 #C6FB62
monochromatic
#0627DD #2647F9 #627AFB #9EADFD #D9DFFE

Accessibility & contrast

On white

3.69
#627AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#627AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627AFB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627AFB#FFFFFF#000000##000000
##627AFB1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8CFF
Deuteranopia (green-blind)
#007FF8
Tritanopia (blue-blind)
#0098AF
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #627afb;
/* rgb */ color: rgb(98, 122, 251);
/* oklch */ color: oklch(62.8% 0.193 271.8);
Tailwind
colors: {
  custom: {
    50: '#9ca0fd',
    500: '#627afb',
    950: '#000000',
  },
}
SCSS
$custom: #627afb;
$custom-light: #9ca0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#627afb",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 230.588,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62819,
    "c": 0.19278,
    "h": 271.8
  },
  "luminance": 0.23481
}

Semantic roles & 50–950 ramp

primary
#627AFB
secondary
#F3ECC5
accent
#C100E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #627AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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