#627FEC#627FEC

#627FEC is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.8% C 0.166 H 269.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#627FEC
RGBrgb(98, 127, 236)
HSLhsl(227, 78%, 65%)
HSVhsv(227, 58%, 93%)
CMYKcmyk(58.5%, 46.2%, 0%, 7.5%)
CIE-LABlab(55.92, 21.76, -58.32)
CIE-LCHlch(55.92, 62.25, 290.46°)
OKLaboklab(62.79% -0.0004 -0.1665)
OKLCHoklch(62.79% 0.166 269.9)
XYZxyz(27.7616, 23.8293, 82.4772)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627FEC #ECCF62
analogous
#62C4EC #627FEC #8A62EC
triadic
#627FEC #EC627F #7FEC62
tetradic
#627FEC #EC62C4 #ECCF62 #62EC8A
square
#627FEC #EC62C4 #ECCF62 #62EC8A
split-complementary
#627FEC #EC8A62 #C4EC62
monochromatic
#173ABD #2B52E5 #627FEC #99ACF3 #CFD8F9

Accessibility & contrast

On white

3.64
#627FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#627FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627FEC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627FEC#FFFFFF#000000##000000
##627FEC1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CF0
Deuteranopia (green-blind)
#3680EA
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #627fec;
/* rgb */ color: rgb(98, 127, 236);
/* oklch */ color: oklch(62.8% 0.166 269.9);
Tailwind
colors: {
  custom: {
    50: '#99a3f3',
    500: '#627fec',
    950: '#000000',
  },
}
SCSS
$custom: #627fec;
$custom-light: #99a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#627fec",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 227.391,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62793,
    "c": 0.16647,
    "h": 269.9
  },
  "luminance": 0.23832
}

Semantic roles & 50–950 ramp

primary
#627FEC
secondary
#ECE2BE
accent
#AF0BDB
background
#FAFAFE
surface
#F3F3FD
border
#CDCDD5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #627FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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