#627EC8#627EC8

#627EC8 is a mid, moderate blue. Relative luminance 0.217; OKLCH L 60.5% C 0.118 H 267.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#627EC8
RGBrgb(98, 126, 200)
HSLhsl(224, 48%, 58%)
HSVhsv(224, 51%, 78%)
CMYKcmyk(51%, 37%, 0%, 21.6%)
CIE-LABlab(53.69, 10.81, -41.60)
CIE-LCHlch(53.69, 42.98, 284.57°)
OKLaboklab(60.45% -0.0058 -0.1175)
OKLCHoklch(60.45% 0.118 267.2)
XYZxyz(22.9198, 21.6870, 57.6106)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627EC8 #C8AC62
analogous
#62B1C8 #627EC8 #7962C8
triadic
#627EC8 #C8627E #7EC862
tetradic
#627EC8 #C862B1 #C8AC62 #62C879
square
#627EC8 #C862B1 #C8AC62 #62C879
split-complementary
#627EC8 #C87962 #B1C862
monochromatic
#2E4582 #3D5DAF #627EC8 #8FA3D8 #BDC8E8

Accessibility & contrast

On white

3.93
#627EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#627EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627EC8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627EC8#FFFFFF#000000##000000
##627EC81.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6185CB
Deuteranopia (green-blind)
#567CC6
Tritanopia (blue-blind)
#348E99
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #627ec8;
/* rgb */ color: rgb(98, 126, 200);
/* oklch */ color: oklch(60.5% 0.118 267.2);
Tailwind
colors: {
  custom: {
    50: '#95a3d9',
    500: '#627ec8',
    950: '#000000',
  },
}
SCSS
$custom: #627ec8;
$custom-light: #95a3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#627ec8",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 223.529,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60452,
    "c": 0.11764,
    "h": 267.2
  },
  "luminance": 0.21689
}

Semantic roles & 50–950 ramp

primary
#627EC8
secondary
#D7CCAF
accent
#B250D8
background
#F9FAFD
surface
#F2F3FA
border
#CCCDD3
text
#0E0F14
muted
#7E7F83

Preview Lab

Preview with #627EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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