#627BD6#627BD6

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

Color values

HEX#627BD6
RGBrgb(98, 123, 214)
HSLhsl(227, 59%, 61%)
HSVhsv(227, 54%, 84%)
CMYKcmyk(54.2%, 42.5%, 0%, 16.1%)
CIE-LABlab(53.62, 17.07, -49.66)
CIE-LCHlch(53.62, 52.51, 288.97°)
OKLaboklab(60.63% 0.0005 -0.1411)
OKLCHoklch(60.63% 0.141 270.2)
XYZxyz(24.2536, 21.6159, 66.4995)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BD6 #D6BD62
analogous
#62B5D6 #627BD6 #8362D6
triadic
#627BD6 #D6627B #7BD662
tetradic
#627BD6 #D662B5 #D6BD62 #62D683
square
#627BD6 #D662B5 #D6BD62 #62D683
split-complementary
#627BD6 #D68362 #B5D662
monochromatic
#273F96 #3454C7 #627BD6 #93A4E3 #C3CDEF

Accessibility & contrast

On white

3.94
#627BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#627BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BD6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BD6#FFFFFF#000000##000000
##627BD61.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5485D9
Deuteranopia (green-blind)
#467BD4
Tritanopia (blue-blind)
#248F9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #627bd6;
/* rgb */ color: rgb(98, 123, 214);
/* oklch */ color: oklch(60.6% 0.141 270.2);
Tailwind
colors: {
  custom: {
    50: '#96a0e3',
    500: '#627bd6',
    950: '#000000',
  },
}
SCSS
$custom: #627bd6;
$custom-light: #96a0e3;
$custom-dark: #000000;
JSON
{
  "hex": "#627bd6",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 214
  },
  "hsl": {
    "h": 227.069,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60632,
    "c": 0.14108,
    "h": 270.2
  },
  "luminance": 0.21618
}

Semantic roles & 50–950 ramp

primary
#627BD6
secondary
#E0D6B4
accent
#A21FC6
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #627BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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