#627AE6#627AE6

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

Color values

HEX#627AE6
RGBrgb(98, 122, 230)
HSLhsl(229, 73%, 64%)
HSVhsv(229, 57%, 90%)
CMYKcmyk(57.4%, 47%, 0%, 9.8%)
CIE-LABlab(54.27, 22.84, -57.62)
CIE-LCHlch(54.27, 61.98, 291.62°)
OKLaboklab(61.42% 0.004 -0.1645)
OKLCHoklch(61.42% 0.165 271.4)
XYZxyz(26.2747, 22.2269, 77.7532)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627AE6 #E6CE62
analogous
#62BCE6 #627AE6 #8C62E6
triadic
#627AE6 #E6627A #7AE662
tetradic
#627AE6 #E662BC #E6CE62 #62E68C
square
#627AE6 #E662BC #E6CE62 #62E68C
split-complementary
#627AE6 #E68C62 #BCE662
monochromatic
#1C37B1 #2D4DDE #627AE6 #97A7EE #CCD3F7

Accessibility & contrast

On white

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

On black

5.45
#627AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627AE6
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627AE6#FFFFFF#000000##000000
##627AE61.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4688EA
Deuteranopia (green-blind)
#327CE4
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #627ae6;
/* rgb */ color: rgb(98, 122, 230);
/* oklch */ color: oklch(61.4% 0.165 271.4);
Tailwind
colors: {
  custom: {
    50: '#99a0ee',
    500: '#627ae6',
    950: '#000000',
  },
}
SCSS
$custom: #627ae6;
$custom-light: #99a0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#627ae6",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 230
  },
  "hsl": {
    "h": 229.091,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61424,
    "c": 0.1645,
    "h": 271.4
  },
  "luminance": 0.22229
}

Semantic roles & 50–950 ramp

primary
#627AE6
secondary
#E9E0BB
accent
#B111D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #627AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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