#627CE8#627CE8

#627CE8 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.9% C 0.165 H 270.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#627CE8
RGBrgb(98, 124, 232)
HSLhsl(228, 74%, 65%)
HSVhsv(228, 58%, 91%)
CMYKcmyk(57.8%, 46.6%, 0%, 9%)
CIE-LABlab(54.90, 22.28, -57.71)
CIE-LCHlch(54.90, 61.86, 291.10°)
OKLaboklab(61.95% 0.0022 -0.1647)
OKLCHoklch(61.95% 0.165 270.8)
XYZxyz(26.8053, 22.8361, 79.3235)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CE8 #E8CE62
analogous
#62BFE8 #627CE8 #8B62E8
triadic
#627CE8 #E8627C #7CE862
tetradic
#627CE8 #E862BF #E8CE62 #62E88B
square
#627CE8 #E862BF #E8CE62 #62E88B
split-complementary
#627CE8 #E88B62 #BFE862
monochromatic
#1B39B5 #2D4FE0 #627CE8 #97A9F0 #CDD5F8

Accessibility & contrast

On white

3.77
#627CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#627CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CE8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CE8#FFFFFF#000000##000000
##627CE81.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#488AEC
Deuteranopia (green-blind)
#347EE6
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627ce8;
/* rgb */ color: rgb(98, 124, 232);
/* oklch */ color: oklch(61.9% 0.165 270.8);
Tailwind
colors: {
  custom: {
    50: '#99a1f0',
    500: '#627ce8',
    950: '#000000',
  },
}
SCSS
$custom: #627ce8;
$custom-light: #99a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#627ce8",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 232
  },
  "hsl": {
    "h": 228.358,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61946,
    "c": 0.16473,
    "h": 270.8
  },
  "luminance": 0.22838
}

Semantic roles & 50–950 ramp

primary
#627CE8
secondary
#EAE1BC
accent
#B00FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #627CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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