#627AE5#627AE5

#627AE5 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.4% C 0.163 H 271.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#627AE5
RGBrgb(98, 122, 229)
HSLhsl(229, 72%, 64%)
HSVhsv(229, 57%, 90%)
CMYKcmyk(57.2%, 46.7%, 0%, 10.2%)
CIE-LABlab(54.21, 22.51, -57.15)
CIE-LCHlch(54.21, 61.42, 291.50°)
OKLaboklab(61.36% 0.0039 -0.1631)
OKLCHoklch(61.36% 0.163 271.4)
XYZxyz(26.1347, 22.1709, 77.0157)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627AE5 #E5CD62
analogous
#62BBE5 #627AE5 #8C62E5
triadic
#627AE5 #E5627A #7AE562
tetradic
#627AE5 #E562BB #E5CD62 #62E58C
square
#627AE5 #E562BB #E5CD62 #62E58C
split-complementary
#627AE5 #E58C62 #BBE562
monochromatic
#1D38B0 #2D4EDC #627AE5 #97A6EE #CBD3F6

Accessibility & contrast

On white

3.86
#627AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#627AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627AE5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627AE5#FFFFFF#000000##000000
##627AE51.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4788E9
Deuteranopia (green-blind)
#347CE3
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #627ae5;
/* rgb */ color: rgb(98, 122, 229);
/* oklch */ color: oklch(61.4% 0.163 271.4);
Tailwind
colors: {
  custom: {
    50: '#98a0ee',
    500: '#627ae5',
    950: '#000000',
  },
}
SCSS
$custom: #627ae5;
$custom-light: #98a0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#627ae5",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 229
  },
  "hsl": {
    "h": 229.008,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6136,
    "c": 0.16314,
    "h": 271.4
  },
  "luminance": 0.22173
}

Semantic roles & 50–950 ramp

primary
#627AE5
secondary
#E8E0BB
accent
#B012D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #627AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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