#627BD9#627BD9

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

Color values

HEX#627BD9
RGBrgb(98, 123, 217)
HSLhsl(227, 61%, 62%)
HSVhsv(227, 55%, 85%)
CMYKcmyk(54.8%, 43.3%, 0%, 14.9%)
CIE-LABlab(53.78, 18.03, -51.09)
CIE-LCHlch(53.78, 54.17, 289.44°)
OKLaboklab(60.81% 0.001 -0.1453)
OKLCHoklch(60.81% 0.145 270.4)
XYZxyz(24.6402, 21.7706, 68.5359)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BD9 #D9C062
analogous
#62B7D9 #627BD9 #8562D9
triadic
#627BD9 #D9627B #7BD962
tetradic
#627BD9 #D962B7 #D9C062 #62D985
square
#627BD9 #D962B7 #D9C062 #62D985
split-complementary
#627BD9 #D98562 #B7D962
monochromatic
#263E9B #3152CC #627BD9 #93A4E5 #C5CEF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627BD9#FFFFFF#000000##000000
##627BD91.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)
#5286DD
Deuteranopia (green-blind)
#447CD7
Tritanopia (blue-blind)
#20909F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #627bd9;
/* rgb */ color: rgb(98, 123, 217);
/* oklch */ color: oklch(60.8% 0.145 270.4);
Tailwind
colors: {
  custom: {
    50: '#97a0e5',
    500: '#627bd9',
    950: '#000000',
  },
}
SCSS
$custom: #627bd9;
$custom-light: #97a0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#627bd9",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 217
  },
  "hsl": {
    "h": 227.395,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60813,
    "c": 0.14527,
    "h": 270.4
  },
  "luminance": 0.21772
}

Semantic roles & 50–950 ramp

primary
#627BD9
secondary
#E1D8B5
accent
#A51DC9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #627BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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