#627AEF#627AEF

#627AEF is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.0% C 0.177 H 271.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#627AEF
RGBrgb(98, 122, 239)
HSLhsl(230, 82%, 66%)
HSVhsv(230, 59%, 94%)
CMYKcmyk(59%, 49%, 0%, 6.3%)
CIE-LABlab(54.81, 25.77, -61.77)
CIE-LCHlch(54.81, 66.93, 292.65°)
OKLaboklab(62.01% 0.005 -0.1767)
OKLCHoklch(62.01% 0.177 271.6)
XYZxyz(27.5714, 22.7455, 84.5820)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627AEF #EFD762
analogous
#62C0EF #627AEF #9062EF
triadic
#627AEF #EF627A #7AEF62
tetradic
#627AEF #EF62C0 #EFD762 #62EF90
square
#627AEF #EF62C0 #EFD762 #62EF90
split-complementary
#627AEF #EF9062 #C0EF62
monochromatic
#1432C3 #2A4BE9 #627AEF #9AA9F5 #D1D8FA

Accessibility & contrast

On white

3.78
#627AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#627AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627AEF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627AEF#FFFFFF#000000##000000
##627AEF1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8AF3
Deuteranopia (green-blind)
#217DED
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627aef;
/* rgb */ color: rgb(98, 122, 239);
/* oklch */ color: oklch(62.0% 0.177 271.6);
Tailwind
colors: {
  custom: {
    50: '#9aa0f5',
    500: '#627aef',
    950: '#000000',
  },
}
SCSS
$custom: #627aef;
$custom-light: #9aa0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#627aef",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 229.787,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6201,
    "c": 0.17673,
    "h": 271.6
  },
  "luminance": 0.22748
}

Semantic roles & 50–950 ramp

primary
#627AEF
secondary
#EEE6BF
accent
#B908DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #627AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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