#627AE8#627AE8

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

Color values

HEX#627AE8
RGBrgb(98, 122, 232)
HSLhsl(229, 74%, 65%)
HSVhsv(229, 58%, 91%)
CMYKcmyk(57.8%, 47.4%, 0%, 9%)
CIE-LABlab(54.39, 23.49, -58.54)
CIE-LCHlch(54.39, 63.08, 291.86°)
OKLaboklab(61.55% 0.0042 -0.1672)
OKLCHoklch(61.55% 0.167 271.4)
XYZxyz(26.5572, 22.3399, 79.2408)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627AE8 #E8D062
analogous
#62BDE8 #627AE8 #8D62E8
triadic
#627AE8 #E8627A #7AE862
tetradic
#627AE8 #E862BD #E8D062 #62E88D
square
#627AE8 #E862BD #E8D062 #62E88D
split-complementary
#627AE8 #E88D62 #BDE862
monochromatic
#1B36B5 #2D4DE0 #627AE8 #97A7F0 #CDD4F8

Accessibility & contrast

On white

3.84
#627AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#627AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627AE8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627AE8#FFFFFF#000000##000000
##627AE81.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4488EC
Deuteranopia (green-blind)
#2F7DE6
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #627ae8;
/* rgb */ color: rgb(98, 122, 232);
/* oklch */ color: oklch(61.6% 0.167 271.4);
Tailwind
colors: {
  custom: {
    50: '#99a0f0',
    500: '#627ae8',
    950: '#000000',
  },
}
SCSS
$custom: #627ae8;
$custom-light: #99a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#627ae8",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 232
  },
  "hsl": {
    "h": 229.254,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61552,
    "c": 0.16723,
    "h": 271.4
  },
  "luminance": 0.22342
}

Semantic roles & 50–950 ramp

primary
#627AE8
secondary
#EAE2BC
accent
#B30FD7
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #627AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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