#627EC6#627EC6

#627EC6 is a mid, moderate blue. Relative luminance 0.216; OKLCH L 60.3% C 0.115 H 266.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#627EC6
RGBrgb(98, 126, 198)
HSLhsl(223, 47%, 58%)
HSVhsv(223, 51%, 78%)
CMYKcmyk(50.5%, 36.4%, 0%, 22.4%)
CIE-LABlab(53.59, 10.19, -40.62)
CIE-LCHlch(53.59, 41.88, 284.08°)
OKLaboklab(60.34% -0.0063 -0.1146)
OKLCHoklch(60.34% 0.115 266.9)
XYZxyz(22.6876, 21.5941, 56.3877)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627EC6 #C6AA62
analogous
#62B0C6 #627EC6 #7862C6
triadic
#627EC6 #C6627E #7EC662
tetradic
#627EC6 #C662B0 #C6AA62 #62C678
square
#627EC6 #C662B0 #C6AA62 #62C678
split-complementary
#627EC6 #C67862 #B0C662
monochromatic
#2E457F #3F5DAC #627EC6 #8FA3D6 #BCC8E7

Accessibility & contrast

On white

3.95
#627EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#627EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627EC6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627EC6#FFFFFF#000000##000000
##627EC61.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6285C9
Deuteranopia (green-blind)
#577CC4
Tritanopia (blue-blind)
#368D99
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #627ec6;
/* rgb */ color: rgb(98, 126, 198);
/* oklch */ color: oklch(60.3% 0.115 266.9);
Tailwind
colors: {
  custom: {
    50: '#94a3d7',
    500: '#627ec6',
    950: '#000000',
  },
}
SCSS
$custom: #627ec6;
$custom-light: #94a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#627ec6",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 223.2,
    "s": 46.729,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60342,
    "c": 0.11481,
    "h": 266.9
  },
  "luminance": 0.21596
}

Semantic roles & 50–950 ramp

primary
#627EC6
secondary
#D6CBAE
accent
#B151D6
background
#F9FAFD
surface
#F2F3FA
border
#CCCDD3
text
#0E0F14
muted
#7E7F83

Preview Lab

Preview with #627EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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