#627BD2#627BD2

#627BD2 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.4% C 0.135 H 269.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#627BD2
RGBrgb(98, 123, 210)
HSLhsl(227, 55%, 60%)
HSVhsv(227, 53%, 82%)
CMYKcmyk(53.3%, 41.4%, 0%, 17.6%)
CIE-LABlab(53.40, 15.79, -47.74)
CIE-LCHlch(53.40, 50.28, 288.30°)
OKLaboklab(60.4% -0.0002 -0.1355)
OKLCHoklch(60.4% 0.135 269.9)
XYZxyz(23.7490, 21.4141, 63.8421)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BD2 #D2B962
analogous
#62B3D2 #627BD2 #8162D2
triadic
#627BD2 #D2627B #7BD262
tetradic
#627BD2 #D262B3 #D2B962 #62D281
square
#627BD2 #D262B3 #D2B962 #62D281
split-complementary
#627BD2 #D28162 #B3D262
monochromatic
#294090 #3756C0 #627BD2 #92A3E0 #C1CBED

Accessibility & contrast

On white

3.97
#627BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#627BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BD2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BD2#FFFFFF#000000##000000
##627BD21.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5785D5
Deuteranopia (green-blind)
#4A7BD0
Tritanopia (blue-blind)
#2A8E9C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #627bd2;
/* rgb */ color: rgb(98, 123, 210);
/* oklch */ color: oklch(60.4% 0.135 269.9);
Tailwind
colors: {
  custom: {
    50: '#96a0e0',
    500: '#627bd2',
    950: '#000000',
  },
}
SCSS
$custom: #627bd2;
$custom-light: #96a0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#627bd2",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 226.607,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60395,
    "c": 0.13547,
    "h": 269.9
  },
  "luminance": 0.21416
}

Semantic roles & 50–950 ramp

primary
#627BD2
secondary
#DDD4B3
accent
#9F23C3
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #627BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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