#627DC6#627DC6

#627DC6 is a mid, moderate blue. Relative luminance 0.213; OKLCH L 60.1% C 0.116 H 267.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#627DC6
RGBrgb(98, 125, 198)
HSLhsl(224, 47%, 58%)
HSVhsv(224, 51%, 78%)
CMYKcmyk(50.5%, 36.9%, 0%, 22.4%)
CIE-LABlab(53.32, 10.79, -41.05)
CIE-LCHlch(53.32, 42.45, 284.73°)
OKLaboklab(60.13% -0.0051 -0.1159)
OKLCHoklch(60.13% 0.116 267.5)
XYZxyz(22.5603, 21.3396, 56.3453)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627DC6 #C6AB62
analogous
#62AFC6 #627DC6 #7962C6
triadic
#627DC6 #C6627D #7DC662
tetradic
#627DC6 #C662AF #C6AB62 #62C679
square
#627DC6 #C662AF #C6AB62 #62C679
split-complementary
#627DC6 #C67962 #AFC662
monochromatic
#2E447F #3F5CAC #627DC6 #8FA2D6 #BCC7E7

Accessibility & contrast

On white

3.99
#627DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#627DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627DC6
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627DC6#FFFFFF#000000##000000
##627DC61.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6184C9
Deuteranopia (green-blind)
#567BC4
Tritanopia (blue-blind)
#368D98
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #627dc6;
/* rgb */ color: rgb(98, 125, 198);
/* oklch */ color: oklch(60.1% 0.116 267.5);
Tailwind
colors: {
  custom: {
    50: '#94a2d7',
    500: '#627dc6',
    950: '#000000',
  },
}
SCSS
$custom: #627dc6;
$custom-light: #94a2d7;
$custom-dark: #000000;
JSON
{
  "hex": "#627dc6",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 198
  },
  "hsl": {
    "h": 223.8,
    "s": 46.729,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6013,
    "c": 0.11602,
    "h": 267.5
  },
  "luminance": 0.21341
}

Semantic roles & 50–950 ramp

primary
#627DC6
secondary
#D6CBAE
accent
#B251D6
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0F14
muted
#7E7E83

Preview Lab

Preview with #627DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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