#627AEE#627AEE

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

Color values

HEX#627AEE
RGBrgb(98, 122, 238)
HSLhsl(230, 80%, 66%)
HSVhsv(230, 59%, 93%)
CMYKcmyk(58.8%, 48.7%, 0%, 6.7%)
CIE-LABlab(54.75, 25.45, -61.31)
CIE-LCHlch(54.75, 66.38, 292.54°)
OKLaboklab(61.94% 0.0049 -0.1753)
OKLCHoklch(61.94% 0.175 271.6)
XYZxyz(27.4240, 22.6866, 83.8061)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627AEE #EED662
analogous
#62C0EE #627AEE #9062EE
triadic
#627AEE #EE627A #7AEE62
tetradic
#627AEE #EE62C0 #EED662 #62EE90
square
#627AEE #EE62C0 #EED662 #62EE90
split-complementary
#627AEE #EE9062 #C0EE62
monochromatic
#1532C1 #2B4BE8 #627AEE #99A9F4 #D0D8FA

Accessibility & contrast

On white

3.79
#627AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#627AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627AEE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627AEE#FFFFFF#000000##000000
##627AEE1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E89F2
Deuteranopia (green-blind)
#247DEC
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627aee;
/* rgb */ color: rgb(98, 122, 238);
/* oklch */ color: oklch(61.9% 0.175 271.6);
Tailwind
colors: {
  custom: {
    50: '#9aa0f4',
    500: '#627aee',
    950: '#000000',
  },
}
SCSS
$custom: #627aee;
$custom-light: #9aa0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#627aee",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 229.714,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61944,
    "c": 0.17539,
    "h": 271.6
  },
  "luminance": 0.22689
}

Semantic roles & 50–950 ramp

primary
#627AEE
secondary
#EDE5BF
accent
#B809DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #627AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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