#627CEE#627CEE

#627CEE is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.3% C 0.173 H 271.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#627CEE
RGBrgb(98, 124, 238)
HSLhsl(229, 80%, 66%)
HSVhsv(229, 59%, 93%)
CMYKcmyk(58.8%, 47.9%, 0%, 6.7%)
CIE-LABlab(55.26, 24.23, -60.49)
CIE-LCHlch(55.26, 65.16, 291.83°)
OKLaboklab(62.33% 0.0029 -0.1729)
OKLCHoklch(62.33% 0.173 271)
XYZxyz(27.6721, 23.1828, 83.8888)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CEE #EED462
analogous
#62C2EE #627CEE #8E62EE
triadic
#627CEE #EE627C #7CEE62
tetradic
#627CEE #EE62C2 #EED462 #62EE8E
square
#627CEE #EE62C2 #EED462 #62EE8E
split-complementary
#627CEE #EE8E62 #C2EE62
monochromatic
#1535C1 #2B4EE8 #627CEE #99AAF4 #D0D8FA

Accessibility & contrast

On white

3.73
#627CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#627CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CEE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CEE#FFFFFF#000000##000000
##627CEE1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#438BF2
Deuteranopia (green-blind)
#2A7EEC
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #627cee;
/* rgb */ color: rgb(98, 124, 238);
/* oklch */ color: oklch(62.3% 0.173 271.0);
Tailwind
colors: {
  custom: {
    50: '#9aa1f4',
    500: '#627cee',
    950: '#000000',
  },
}
SCSS
$custom: #627cee;
$custom-light: #9aa1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#627cee",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 228.857,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62332,
    "c": 0.17289,
    "h": 271
  },
  "luminance": 0.23185
}

Semantic roles & 50–950 ramp

primary
#627CEE
secondary
#EDE4BF
accent
#B509DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #627CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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