#627CD4#627CD4

#627CD4 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.7% C 0.137 H 269.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#627CD4
RGBrgb(98, 124, 212)
HSLhsl(226, 57%, 61%)
HSVhsv(226, 54%, 83%)
CMYKcmyk(53.8%, 41.5%, 0%, 16.9%)
CIE-LABlab(53.78, 15.82, -48.28)
CIE-LCHlch(53.78, 50.80, 288.14°)
OKLaboklab(60.72% -0.001 -0.137)
OKLCHoklch(60.72% 0.137 269.6)
XYZxyz(24.1244, 21.7637, 65.2042)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CD4 #D4BA62
analogous
#62B5D4 #627CD4 #8162D4
triadic
#627CD4 #D4627C #7CD462
tetradic
#627CD4 #D462B5 #D4BA62 #62D481
square
#627CD4 #D462B5 #D4BA62 #62D481
split-complementary
#627CD4 #D48162 #B5D462
monochromatic
#284193 #3556C3 #627CD4 #92A4E1 #C2CCEE

Accessibility & contrast

On white

3.92
#627CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#627CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CD4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CD4#FFFFFF#000000##000000
##627CD41.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5786D7
Deuteranopia (green-blind)
#4A7CD2
Tritanopia (blue-blind)
#278F9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #627cd4;
/* rgb */ color: rgb(98, 124, 212);
/* oklch */ color: oklch(60.7% 0.137 269.6);
Tailwind
colors: {
  custom: {
    50: '#96a1e2',
    500: '#627cd4',
    950: '#000000',
  },
}
SCSS
$custom: #627cd4;
$custom-light: #96a1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#627cd4",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 226.316,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60718,
    "c": 0.13702,
    "h": 269.6
  },
  "luminance": 0.21765
}

Semantic roles & 50–950 ramp

primary
#627CD4
secondary
#DED5B3
accent
#9F21C5
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #627CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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