#627AE4#627AE4

#627AE4 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.3% C 0.162 H 271.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#627AE4
RGBrgb(98, 122, 228)
HSLhsl(229, 71%, 64%)
HSVhsv(229, 57%, 89%)
CMYKcmyk(57%, 46.5%, 0%, 10.6%)
CIE-LABlab(54.15, 22.19, -56.68)
CIE-LCHlch(54.15, 60.87, 291.38°)
OKLaboklab(61.3% 0.0037 -0.1617)
OKLCHoklch(61.3% 0.162 271.3)
XYZxyz(25.9955, 22.1152, 76.2825)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627AE4 #E4CC62
analogous
#62BBE4 #627AE4 #8B62E4
triadic
#627AE4 #E4627A #7AE462
tetradic
#627AE4 #E462BB #E4CC62 #62E48B
square
#627AE4 #E462BB #E4CC62 #62E48B
split-complementary
#627AE4 #E48B62 #BBE462
monochromatic
#1E38AE #2E4EDB #627AE4 #96A6ED #CAD2F6

Accessibility & contrast

On white

3.87
#627AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#627AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627AE4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627AE4#FFFFFF#000000##000000
##627AE41.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4887E8
Deuteranopia (green-blind)
#357CE2
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #627ae4;
/* rgb */ color: rgb(98, 122, 228);
/* oklch */ color: oklch(61.3% 0.162 271.3);
Tailwind
colors: {
  custom: {
    50: '#98a0ed',
    500: '#627ae4',
    950: '#000000',
  },
}
SCSS
$custom: #627ae4;
$custom-light: #98a0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#627ae4",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 228
  },
  "hsl": {
    "h": 228.923,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61296,
    "c": 0.16176,
    "h": 271.3
  },
  "luminance": 0.22117
}

Semantic roles & 50–950 ramp

primary
#627AE4
secondary
#E8DFBA
accent
#AF13D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #627AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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