#627CE4#627CE4

#627CE4 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.7% C 0.159 H 270.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#627CE4
RGBrgb(98, 124, 228)
HSLhsl(228, 71%, 64%)
HSVhsv(228, 57%, 89%)
CMYKcmyk(57%, 45.6%, 0%, 10.6%)
CIE-LABlab(54.67, 20.97, -55.85)
CIE-LCHlch(54.67, 59.66, 290.58°)
OKLaboklab(61.69% 0.0016 -0.1592)
OKLCHoklch(61.69% 0.159 270.6)
XYZxyz(26.2436, 22.6114, 76.3652)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CE4 #E4CA62
analogous
#62BDE4 #627CE4 #8962E4
triadic
#627CE4 #E4627C #7CE462
tetradic
#627CE4 #E462BD #E4CA62 #62E489
square
#627CE4 #E462BD #E4CA62 #62E489
split-complementary
#627CE4 #E48962 #BDE462
monochromatic
#1E3BAE #2E50DB #627CE4 #96A8ED #CAD3F6

Accessibility & contrast

On white

3.80
#627CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#627CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CE4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CE4#FFFFFF#000000##000000
##627CE41.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C89E8
Deuteranopia (green-blind)
#397DE2
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627ce4;
/* rgb */ color: rgb(98, 124, 228);
/* oklch */ color: oklch(61.7% 0.159 270.6);
Tailwind
colors: {
  custom: {
    50: '#98a1ed',
    500: '#627ce4',
    950: '#000000',
  },
}
SCSS
$custom: #627ce4;
$custom-light: #98a1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#627ce4",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 228
  },
  "hsl": {
    "h": 228,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61693,
    "c": 0.15926,
    "h": 270.6
  },
  "luminance": 0.22613
}

Semantic roles & 50–950 ramp

primary
#627CE4
secondary
#E8DFBA
accent
#AC13D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #627CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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