#627FEF#627FEF

#627FEF is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.0% C 0.171 H 270.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#627FEF
RGBrgb(98, 127, 239)
HSLhsl(228, 82%, 66%)
HSVhsv(228, 59%, 94%)
CMYKcmyk(59%, 46.9%, 0%, 6.3%)
CIE-LABlab(56.09, 22.74, -59.71)
CIE-LCHlch(56.09, 63.89, 290.85°)
OKLaboklab(62.99% 0 -0.1705)
OKLCHoklch(62.99% 0.171 270)
XYZxyz(28.2011, 24.0051, 84.7919)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627FEF #EFD262
analogous
#62C5EF #627FEF #8B62EF
triadic
#627FEF #EF627F #7FEF62
tetradic
#627FEF #EF62C5 #EFD262 #62EF8B
square
#627FEF #EF62C5 #EFD262 #62EF8B
split-complementary
#627FEF #EF8B62 #C5EF62
monochromatic
#1438C3 #2A52E9 #627FEF #9AACF5 #D1DAFA

Accessibility & contrast

On white

3.62
#627FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#627FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627FEF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627FEF#FFFFFF#000000##000000
##627FEF1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF3
Deuteranopia (green-blind)
#3181ED
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #627fef;
/* rgb */ color: rgb(98, 127, 239);
/* oklch */ color: oklch(63.0% 0.171 270.0);
Tailwind
colors: {
  custom: {
    50: '#9aa3f5',
    500: '#627fef',
    950: '#000000',
  },
}
SCSS
$custom: #627fef;
$custom-light: #9aa3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#627fef",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 227.66,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62985,
    "c": 0.17055,
    "h": 270
  },
  "luminance": 0.24007
}

Semantic roles & 50–950 ramp

primary
#627FEF
secondary
#EEE4BF
accent
#B208DE
background
#FAFAFF
surface
#F3F3FE
border
#CDCDD6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #627FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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