#627EF6#627EF6

#627EF6 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.2% C 0.181 H 270.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#627EF6
RGBrgb(98, 126, 246)
HSLhsl(229, 89%, 67%)
HSVhsv(229, 60%, 96%)
CMYKcmyk(60.2%, 48.8%, 0%, 3.5%)
CIE-LABlab(56.26, 25.64, -63.32)
CIE-LCHlch(56.26, 68.32, 292.05°)
OKLaboklab(63.25% 0.0018 -0.1812)
OKLCHoklch(63.25% 0.181 270.6)
XYZxyz(29.1268, 24.1698, 90.3012)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627EF6 #F6DA62
analogous
#62C8F6 #627EF6 #9062F6
triadic
#627EF6 #F6627E #7EF662
tetradic
#627EF6 #F662C8 #F6DA62 #62F690
square
#627EF6 #F662C8 #F6DA62 #62F690
split-complementary
#627EF6 #F69062 #C8F662
monochromatic
#0C31D2 #284EF3 #627EF6 #9CAEF9 #D6DDFD

Accessibility & contrast

On white

3.60
#627EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#627EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627EF6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627EF6#FFFFFF#000000##000000
##627EF61.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFA
Deuteranopia (green-blind)
#2081F3
Tritanopia (blue-blind)
#0099AE
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #627ef6;
/* rgb */ color: rgb(98, 126, 246);
/* oklch */ color: oklch(63.2% 0.181 270.6);
Tailwind
colors: {
  custom: {
    50: '#9ba3fa',
    500: '#627ef6',
    950: '#000000',
  },
}
SCSS
$custom: #627ef6;
$custom-light: #9ba3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#627ef6",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 228.649,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63245,
    "c": 0.18121,
    "h": 270.6
  },
  "luminance": 0.24172
}

Semantic roles & 50–950 ramp

primary
#627EF6
secondary
#F1E8C3
accent
#BA00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #627EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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