#627BC8#627BC8

#627BC8 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.8% C 0.121 H 268.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#627BC8
RGBrgb(98, 123, 200)
HSLhsl(225, 48%, 58%)
HSVhsv(225, 51%, 78%)
CMYKcmyk(51%, 38.5%, 0%, 21.6%)
CIE-LABlab(52.87, 12.62, -42.90)
CIE-LCHlch(52.87, 44.71, 286.40°)
OKLaboklab(59.82% -0.0022 -0.1213)
OKLCHoklch(59.82% 0.121 268.9)
XYZxyz(22.5419, 20.9312, 57.4847)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BC8 #C8AF62
analogous
#62AEC8 #627BC8 #7C62C8
triadic
#627BC8 #C8627B #7BC862
tetradic
#627BC8 #C862AE #C8AF62 #62C87C
square
#627BC8 #C862AE #C8AF62 #62C87C
split-complementary
#627BC8 #C87C62 #AEC862
monochromatic
#2E4282 #3D59AF #627BC8 #8FA1D8 #BDC7E8

Accessibility & contrast

On white

4.05
#627BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#627BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BC8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BC8#FFFFFF#000000##000000
##627BC81.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CB
Deuteranopia (green-blind)
#527AC6
Tritanopia (blue-blind)
#348B98
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #627bc8;
/* rgb */ color: rgb(98, 123, 200);
/* oklch */ color: oklch(59.8% 0.121 268.9);
Tailwind
colors: {
  custom: {
    50: '#95a0d9',
    500: '#627bc8',
    950: '#000000',
  },
}
SCSS
$custom: #627bc8;
$custom-light: #95a0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#627bc8",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 200
  },
  "hsl": {
    "h": 225.294,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59819,
    "c": 0.12132,
    "h": 268.9
  },
  "luminance": 0.20933
}

Semantic roles & 50–950 ramp

primary
#627BC8
secondary
#D7CDAF
accent
#B650D8
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0E14
muted
#7E7E83

Preview Lab

Preview with #627BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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