#627AC6#627AC6

#627AC6 is a mid, moderate blue. Relative luminance 0.206; OKLCH L 59.5% C 0.120 H 269.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#627AC6
RGBrgb(98, 122, 198)
HSLhsl(226, 47%, 58%)
HSVhsv(226, 51%, 78%)
CMYKcmyk(50.5%, 38.4%, 0%, 22.4%)
CIE-LABlab(52.50, 12.60, -42.35)
CIE-LCHlch(52.50, 44.18, 286.57°)
OKLaboklab(59.5% -0.0015 -0.1197)
OKLCHoklch(59.5% 0.12 269.3)
XYZxyz(22.1863, 20.5915, 56.2206)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627AC6 #C6AE62
analogous
#62ACC6 #627AC6 #7C62C6
triadic
#627AC6 #C6627A #7AC662
tetradic
#627AC6 #C662AC #C6AE62 #62C67C
square
#627AC6 #C662AC #C6AE62 #62C67C
split-complementary
#627AC6 #C67C62 #ACC662
monochromatic
#2E427F #3F59AC #627AC6 #8FA0D6 #BCC6E7

Accessibility & contrast

On white

4.10
#627AC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#627AC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627AC6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627AC6#FFFFFF#000000##000000
##627AC61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C82C9
Deuteranopia (green-blind)
#5279C4
Tritanopia (blue-blind)
#368A96
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #627ac6;
/* rgb */ color: rgb(98, 122, 198);
/* oklch */ color: oklch(59.5% 0.120 269.3);
Tailwind
colors: {
  custom: {
    50: '#94a0d7',
    500: '#627ac6',
    950: '#000000',
  },
}
SCSS
$custom: #627ac6;
$custom-light: #94a0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#627ac6",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 198
  },
  "hsl": {
    "h": 225.6,
    "s": 46.729,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59497,
    "c": 0.11971,
    "h": 269.3
  },
  "luminance": 0.20593
}

Semantic roles & 50–950 ramp

primary
#627AC6
secondary
#D6CCAE
accent
#B651D6
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0E14
muted
#7E7E83

Preview Lab

Preview with #627AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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