#627BD5#627BD5

#627BD5 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.6% C 0.140 H 270.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#627BD5
RGBrgb(98, 123, 213)
HSLhsl(227, 58%, 61%)
HSVhsv(227, 54%, 84%)
CMYKcmyk(54%, 42.3%, 0%, 16.5%)
CIE-LABlab(53.56, 16.75, -49.18)
CIE-LCHlch(53.56, 51.95, 288.80°)
OKLaboklab(60.57% 0.0003 -0.1397)
OKLCHoklch(60.57% 0.14 270.1)
XYZxyz(24.1263, 21.5650, 65.8290)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BD5 #D5BC62
analogous
#62B4D5 #627BD5 #8262D5
triadic
#627BD5 #D5627B #7BD562
tetradic
#627BD5 #D562B4 #D5BC62 #62D582
square
#627BD5 #D562B4 #D5BC62 #62D582
split-complementary
#627BD5 #D58262 #B4D562
monochromatic
#283F95 #3554C5 #627BD5 #92A4E2 #C3CCEF

Accessibility & contrast

On white

3.95
#627BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#627BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BD5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BD5#FFFFFF#000000##000000
##627BD51.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5585D8
Deuteranopia (green-blind)
#477BD3
Tritanopia (blue-blind)
#268F9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #627bd5;
/* rgb */ color: rgb(98, 123, 213);
/* oklch */ color: oklch(60.6% 0.140 270.1);
Tailwind
colors: {
  custom: {
    50: '#96a0e2',
    500: '#627bd5',
    950: '#000000',
  },
}
SCSS
$custom: #627bd5;
$custom-light: #96a0e2;
$custom-dark: #000000;
JSON
{
  "hex": "#627bd5",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 213
  },
  "hsl": {
    "h": 226.957,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60573,
    "c": 0.13968,
    "h": 270.1
  },
  "luminance": 0.21567
}

Semantic roles & 50–950 ramp

primary
#627BD5
secondary
#DFD6B4
accent
#A120C5
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #627BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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