#627EEA#627EEA

#627EEA is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.5% C 0.165 H 270.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#627EEA
RGBrgb(98, 126, 234)
HSLhsl(228, 76%, 65%)
HSVhsv(228, 58%, 92%)
CMYKcmyk(58.1%, 46.2%, 0%, 8.2%)
CIE-LABlab(55.54, 21.71, -57.81)
CIE-LCHlch(55.54, 61.75, 290.59°)
OKLaboklab(62.47% 0.0004 -0.165)
OKLCHoklch(62.47% 0.165 270.1)
XYZxyz(27.3442, 23.4567, 80.9126)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627EEA #EACE62
analogous
#62C2EA #627EEA #8A62EA
triadic
#627EEA #EA627E #7EEA62
tetradic
#627EEA #EA62C2 #EACE62 #62EA8A
square
#627EEA #EA62C2 #EACE62 #62EA8A
split-complementary
#627EEA #EA8A62 #C2EA62
monochromatic
#193AB9 #2C52E3 #627EEA #98AAF1 #CED7F8

Accessibility & contrast

On white

3.69
#627EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#627EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627EEA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627EEA#FFFFFF#000000##000000
##627EEA1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8BEE
Deuteranopia (green-blind)
#367FE8
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #627eea;
/* rgb */ color: rgb(98, 126, 234);
/* oklch */ color: oklch(62.5% 0.165 270.1);
Tailwind
colors: {
  custom: {
    50: '#99a3f1',
    500: '#627eea',
    950: '#000000',
  },
}
SCSS
$custom: #627eea;
$custom-light: #99a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#627eea",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 227.647,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62468,
    "c": 0.16498,
    "h": 270.1
  },
  "luminance": 0.23459
}

Semantic roles & 50–950 ramp

primary
#627EEA
secondary
#EBE1BD
accent
#AF0DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #627EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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