#627CDF#627CDF

#627CDF is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.4% C 0.152 H 270.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#627CDF
RGBrgb(98, 124, 223)
HSLhsl(228, 66%, 63%)
HSVhsv(228, 56%, 87%)
CMYKcmyk(56.1%, 44.4%, 0%, 12.5%)
CIE-LABlab(54.38, 19.35, -53.50)
CIE-LCHlch(54.38, 56.90, 289.89°)
OKLaboklab(61.38% 0.0009 -0.1524)
OKLCHoklch(61.38% 0.152 270.3)
XYZxyz(25.5595, 22.3378, 72.7625)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CDF #DFC562
analogous
#62BADF #627CDF #8662DF
triadic
#627CDF #DF627C #7CDF62
tetradic
#627CDF #DF62BA #DFC562 #62DF86
square
#627CDF #DF62BA #DFC562 #62DF86
split-complementary
#627CDF #DF8662 #BADF62
monochromatic
#223DA5 #2F52D5 #627CDF #95A6E9 #C8D1F4

Accessibility & contrast

On white

3.84
#627CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#627CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CDF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CDF#FFFFFF#000000##000000
##627CDF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5088E3
Deuteranopia (green-blind)
#3F7DDD
Tritanopia (blue-blind)
#1292A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #627cdf;
/* rgb */ color: rgb(98, 124, 223);
/* oklch */ color: oklch(61.4% 0.152 270.3);
Tailwind
colors: {
  custom: {
    50: '#98a1e9',
    500: '#627cdf',
    950: '#000000',
  },
}
SCSS
$custom: #627cdf;
$custom-light: #98a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#627cdf",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 227.52,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61382,
    "c": 0.15236,
    "h": 270.3
  },
  "luminance": 0.2234
}

Semantic roles & 50–950 ramp

primary
#627CDF
secondary
#E5DCB8
accent
#A817CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #627CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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