#627FD8#627FD8

#627FD8 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.6% C 0.139 H 268.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#627FD8
RGBrgb(98, 127, 216)
HSLhsl(225, 60%, 62%)
HSVhsv(225, 55%, 85%)
CMYKcmyk(54.6%, 41.2%, 0%, 15.3%)
CIE-LABlab(54.79, 15.28, -48.91)
CIE-LCHlch(54.79, 51.24, 287.35°)
OKLaboklab(61.57% -0.0036 -0.1389)
OKLCHoklch(61.57% 0.139 268.5)
XYZxyz(25.0169, 22.7314, 68.0217)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627FD8 #D8BB62
analogous
#62BAD8 #627FD8 #8062D8
triadic
#627FD8 #D8627F #7FD862
tetradic
#627FD8 #D862BA #D8BB62 #62D880
square
#627FD8 #D862BA #D8BB62 #62D880
split-complementary
#627FD8 #D88062 #BAD862
monochromatic
#264299 #3258CA #627FD8 #93A7E4 #C4CFF0

Accessibility & contrast

On white

3.79
#627FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#627FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627FD8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627FD8#FFFFFF#000000##000000
##627FD81.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A89DB
Deuteranopia (green-blind)
#4B7ED6
Tritanopia (blue-blind)
#2092A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627fd8;
/* rgb */ color: rgb(98, 127, 216);
/* oklch */ color: oklch(61.6% 0.139 268.5);
Tailwind
colors: {
  custom: {
    50: '#97a3e4',
    500: '#627fd8',
    950: '#000000',
  },
}
SCSS
$custom: #627fd8;
$custom-light: #97a3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#627fd8",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 216
  },
  "hsl": {
    "h": 225.254,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61571,
    "c": 0.13891,
    "h": 268.5
  },
  "luminance": 0.22733
}

Semantic roles & 50–950 ramp

primary
#627FD8
secondary
#E1D6B5
accent
#9E1EC8
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #627FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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