#627EF5#627EF5

#627EF5 is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.2% C 0.180 H 270.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#627EF5
RGBrgb(98, 126, 245)
HSLhsl(229, 88%, 67%)
HSVhsv(229, 60%, 96%)
CMYKcmyk(60%, 48.6%, 0%, 3.9%)
CIE-LABlab(56.20, 25.31, -62.87)
CIE-LCHlch(56.20, 67.77, 291.93°)
OKLaboklab(63.18% 0.0017 -0.1799)
OKLCHoklch(63.18% 0.18 270.5)
XYZxyz(28.9738, 24.1086, 89.4951)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627EF5 #F5D962
analogous
#62C8F5 #627EF5 #8F62F5
triadic
#627EF5 #F5627E #7EF562
tetradic
#627EF5 #F562C8 #F5D962 #62F58F
square
#627EF5 #F562C8 #F5D962 #62F58F
split-complementary
#627EF5 #F58F62 #C8F562
monochromatic
#0D32CF #284FF1 #627EF5 #9CADF9 #D5DDFC

Accessibility & contrast

On white

3.61
#627EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#627EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627EF5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627EF5#FFFFFF#000000##000000
##627EF51.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#408EF9
Deuteranopia (green-blind)
#2281F3
Tritanopia (blue-blind)
#0099AE
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #627ef5;
/* rgb */ color: rgb(98, 126, 245);
/* oklch */ color: oklch(63.2% 0.180 270.5);
Tailwind
colors: {
  custom: {
    50: '#9ba3f9',
    500: '#627ef5',
    950: '#000000',
  },
}
SCSS
$custom: #627ef5;
$custom-light: #9ba3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#627ef5",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 228.571,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63179,
    "c": 0.17987,
    "h": 270.5
  },
  "luminance": 0.24111
}

Semantic roles & 50–950 ramp

primary
#627EF5
secondary
#F1E8C2
accent
#B901E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #627EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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