#627AED#627AED

#627AED is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.9% C 0.174 H 271.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#627AED
RGBrgb(98, 122, 237)
HSLhsl(230, 79%, 66%)
HSVhsv(230, 59%, 93%)
CMYKcmyk(58.6%, 48.5%, 0%, 7.1%)
CIE-LABlab(54.69, 25.12, -60.85)
CIE-LCHlch(54.69, 65.83, 292.43°)
OKLaboklab(61.88% 0.0048 -0.174)
OKLCHoklch(61.88% 0.174 271.6)
XYZxyz(27.2775, 22.6280, 83.0345)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627AED #EDD562
analogous
#62C0ED #627AED #8F62ED
triadic
#627AED #ED627A #7AED62
tetradic
#627AED #ED62C0 #EDD562 #62ED8F
square
#627AED #ED62C0 #EDD562 #62ED8F
split-complementary
#627AED #ED8F62 #C0ED62
monochromatic
#1633BF #2B4BE7 #627AED #99A9F3 #D0D7FA

Accessibility & contrast

On white

3.80
#627AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#627AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627AED
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627AED#FFFFFF#000000##000000
##627AED1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F1
Deuteranopia (green-blind)
#267DEB
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627aed;
/* rgb */ color: rgb(98, 122, 237);
/* oklch */ color: oklch(61.9% 0.174 271.6);
Tailwind
colors: {
  custom: {
    50: '#9aa0f3',
    500: '#627aed',
    950: '#000000',
  },
}
SCSS
$custom: #627aed;
$custom-light: #9aa0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#627aed",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 229.64,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61878,
    "c": 0.17404,
    "h": 271.6
  },
  "luminance": 0.2263
}

Semantic roles & 50–950 ramp

primary
#627AED
secondary
#EDE5BE
accent
#B70ADC
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #627AED

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

Preview Lab → · Contrast checker → · Palette generator →

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