#627BC6#627BC6

#627BC6 is a mid, moderate blue. Relative luminance 0.208; OKLCH L 59.7% C 0.118 H 268.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#627BC6
RGBrgb(98, 123, 198)
HSLhsl(225, 47%, 58%)
HSVhsv(225, 51%, 78%)
CMYKcmyk(50.5%, 37.9%, 0%, 22.4%)
CIE-LABlab(52.77, 12.00, -41.92)
CIE-LCHlch(52.77, 43.60, 285.97°)
OKLaboklab(59.71% -0.0027 -0.1184)
OKLCHoklch(59.71% 0.118 268.7)
XYZxyz(22.3097, 20.8383, 56.2617)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BC6 #C6AD62
analogous
#62ADC6 #627BC6 #7B62C6
triadic
#627BC6 #C6627B #7BC662
tetradic
#627BC6 #C662AD #C6AD62 #62C67B
square
#627BC6 #C662AD #C6AD62 #62C67B
split-complementary
#627BC6 #C67B62 #ADC662
monochromatic
#2E437F #3F5AAC #627BC6 #8FA1D6 #BCC6E7

Accessibility & contrast

On white

4.06
#627BC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#627BC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BC6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BC6#FFFFFF#000000##000000
##627BC61.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E83C9
Deuteranopia (green-blind)
#537AC4
Tritanopia (blue-blind)
#368B97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #627bc6;
/* rgb */ color: rgb(98, 123, 198);
/* oklch */ color: oklch(59.7% 0.118 268.7);
Tailwind
colors: {
  custom: {
    50: '#94a0d7',
    500: '#627bc6',
    950: '#000000',
  },
}
SCSS
$custom: #627bc6;
$custom-light: #94a0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#627bc6",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 198
  },
  "hsl": {
    "h": 225,
    "s": 46.729,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59707,
    "c": 0.11847,
    "h": 268.7
  },
  "luminance": 0.2084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #627BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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