#627AE7#627AE7

#627AE7 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.5% C 0.166 H 271.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#627AE7
RGBrgb(98, 122, 231)
HSLhsl(229, 73%, 65%)
HSVhsv(229, 58%, 91%)
CMYKcmyk(57.6%, 47.2%, 0%, 9.4%)
CIE-LABlab(54.33, 23.16, -58.08)
CIE-LCHlch(54.33, 62.53, 291.74°)
OKLaboklab(61.49% 0.0041 -0.1658)
OKLCHoklch(61.49% 0.166 271.4)
XYZxyz(26.4156, 22.2832, 78.4949)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627AE7 #E7CF62
analogous
#62BDE7 #627AE7 #8D62E7
triadic
#627AE7 #E7627A #7AE762
tetradic
#627AE7 #E762BD #E7CF62 #62E78D
square
#627AE7 #E762BD #E7CF62 #62E78D
split-complementary
#627AE7 #E78D62 #BDE762
monochromatic
#1B37B3 #2D4DDF #627AE7 #97A7EF #CCD4F7

Accessibility & contrast

On white

3.85
#627AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#627AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627AE7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627AE7#FFFFFF#000000##000000
##627AE71.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4588EB
Deuteranopia (green-blind)
#317CE5
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #627ae7;
/* rgb */ color: rgb(98, 122, 231);
/* oklch */ color: oklch(61.5% 0.166 271.4);
Tailwind
colors: {
  custom: {
    50: '#99a0ef',
    500: '#627ae7',
    950: '#000000',
  },
}
SCSS
$custom: #627ae7;
$custom-light: #99a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#627ae7",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 229.173,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61488,
    "c": 0.16587,
    "h": 271.4
  },
  "luminance": 0.22285
}

Semantic roles & 50–950 ramp

primary
#627AE7
secondary
#E9E1BB
accent
#B210D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #627AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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