#627EFE#627EFE

#627EFE is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.8% C 0.192 H 270.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#627EFE
RGBrgb(98, 126, 254)
HSLhsl(229, 99%, 69%)
HSVhsv(229, 61%, 100%)
CMYKcmyk(61.4%, 50.4%, 0%, 0.4%)
CIE-LABlab(56.75, 28.27, -66.94)
CIE-LCHlch(56.75, 72.67, 292.90°)
OKLaboklab(63.78% 0.0026 -0.1918)
OKLCHoklch(63.78% 0.192 270.8)
XYZxyz(30.3812, 24.6716, 96.9078)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627EFE #FEE262
analogous
#62CCFE #627EFE #9462FE
triadic
#627EFE #FE627E #7EFE62
tetradic
#627EFE #FE62CC #FEE262 #62FE94
square
#627EFE #FE62CC #FEE262 #62FE94
split-complementary
#627EFE #FE9462 #CCFE62
monochromatic
#012AE4 #254CFE #627EFE #9FB0FE #DCE2FF

Accessibility & contrast

On white

3.54
#627EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#627EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627EFE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627EFE#FFFFFF#000000##000000
##627EFE1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#358FFF
Deuteranopia (green-blind)
#0082FB
Tritanopia (blue-blind)
#009CB2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #627efe;
/* rgb */ color: rgb(98, 126, 254);
/* oklch */ color: oklch(63.8% 0.192 270.8);
Tailwind
colors: {
  custom: {
    50: '#9ca3ff',
    500: '#627efe',
    950: '#000000',
  },
}
SCSS
$custom: #627efe;
$custom-light: #9ca3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#627efe",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 229.231,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6378,
    "c": 0.19186,
    "h": 270.8
  },
  "luminance": 0.24674
}

Semantic roles & 50–950 ramp

primary
#627EFE
secondary
#F5EDC7
accent
#BC00E6
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #627EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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