#627BCD#627BCD

#627BCD is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.1% C 0.128 H 269.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#627BCD
RGBrgb(98, 123, 205)
HSLhsl(226, 52%, 59%)
HSVhsv(226, 52%, 80%)
CMYKcmyk(52.2%, 40%, 0%, 19.6%)
CIE-LABlab(53.13, 14.20, -45.33)
CIE-LCHlch(53.13, 47.50, 287.39°)
OKLaboklab(60.1% -0.0012 -0.1284)
OKLCHoklch(60.1% 0.128 269.5)
XYZxyz(23.1358, 21.1688, 60.6126)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BCD #CDB462
analogous
#62B1CD #627BCD #7F62CD
triadic
#627BCD #CD627B #7BCD62
tetradic
#627BCD #CD62B1 #CDB462 #62CD7F
square
#627BCD #CD62B1 #CDB462 #62CD7F
split-complementary
#627BCD #CD7F62 #B1CD62
monochromatic
#2C4189 #3A58B7 #627BCD #90A2DC #BFC9EB

Accessibility & contrast

On white

4.01
#627BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#627BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BCD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BCD#FFFFFF#000000##000000
##627BCD1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#4E7BCB
Tritanopia (blue-blind)
#308D9A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #627bcd;
/* rgb */ color: rgb(98, 123, 205);
/* oklch */ color: oklch(60.1% 0.128 269.5);
Tailwind
colors: {
  custom: {
    50: '#95a0dc',
    500: '#627bcd',
    950: '#000000',
  },
}
SCSS
$custom: #627bcd;
$custom-light: #95a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#627bcd",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 225.981,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60104,
    "c": 0.12842,
    "h": 269.5
  },
  "luminance": 0.2117
}

Semantic roles & 50–950 ramp

primary
#627BCD
secondary
#DAD1B1
accent
#BA4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #627BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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