#627BC7#627BC7

#627BC7 is a mid, moderate blue. Relative luminance 0.209; OKLCH L 59.8% C 0.120 H 268.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#627BC7
RGBrgb(98, 123, 199)
HSLhsl(225, 47%, 58%)
HSVhsv(225, 51%, 78%)
CMYKcmyk(50.8%, 38.2%, 0%, 22%)
CIE-LABlab(52.82, 12.31, -42.41)
CIE-LCHlch(52.82, 44.16, 286.19°)
OKLaboklab(59.76% -0.0025 -0.1199)
OKLCHoklch(59.76% 0.12 268.8)
XYZxyz(22.4254, 20.8846, 56.8712)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BC7 #C7AE62
analogous
#62ADC7 #627BC7 #7B62C7
triadic
#627BC7 #C7627B #7BC762
tetradic
#627BC7 #C762AD #C7AE62 #62C77B
square
#627BC7 #C762AD #C7AE62 #62C77B
split-complementary
#627BC7 #C77B62 #ADC762
monochromatic
#2E4281 #3E5AAE #627BC7 #8FA1D7 #BCC7E7

Accessibility & contrast

On white

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

On black

5.18
#627BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BC7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BC7#FFFFFF#000000##000000
##627BC71.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#358B97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #627bc7;
/* rgb */ color: rgb(98, 123, 199);
/* oklch */ color: oklch(59.8% 0.120 268.8);
Tailwind
colors: {
  custom: {
    50: '#95a0d8',
    500: '#627bc7',
    950: '#000000',
  },
}
SCSS
$custom: #627bc7;
$custom-light: #95a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#627bc7",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 225.149,
    "s": 47.418,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59763,
    "c": 0.1199,
    "h": 268.8
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#627BC7
secondary
#D7CDAE
accent
#B651D7
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0E14
muted
#7E7E83

Preview Lab

Preview with #627BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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