#627DCB#627DCB

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

Color values

HEX#627DCB
RGBrgb(98, 125, 203)
HSLhsl(225, 50%, 59%)
HSVhsv(225, 52%, 80%)
CMYKcmyk(51.7%, 38.4%, 0%, 20.4%)
CIE-LABlab(53.57, 12.36, -43.50)
CIE-LCHlch(53.57, 45.22, 285.86°)
OKLaboklab(60.41% -0.004 -0.123)
OKLCHoklch(60.41% 0.123 268.2)
XYZxyz(23.1466, 21.5741, 59.4328)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627DCB #CBB062
analogous
#62B2CB #627DCB #7C62CB
triadic
#627DCB #CB627D #7DCB62
tetradic
#627DCB #CB62B2 #CBB062 #62CB7C
square
#627DCB #CB62B2 #CBB062 #62CB7C
split-complementary
#627DCB #CB7C62 #B2CB62
monochromatic
#2C4486 #3C5BB4 #627DCB #90A3DA #BEC9E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627DCB#FFFFFF#000000##000000
##627DCB1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CE
Deuteranopia (green-blind)
#527CC9
Tritanopia (blue-blind)
#318E9A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #627dcb;
/* rgb */ color: rgb(98, 125, 203);
/* oklch */ color: oklch(60.4% 0.123 268.2);
Tailwind
colors: {
  custom: {
    50: '#95a2db',
    500: '#627dcb',
    950: '#000000',
  },
}
SCSS
$custom: #627dcb;
$custom-light: #95a2db;
$custom-dark: #000000;
JSON
{
  "hex": "#627dcb",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 203
  },
  "hsl": {
    "h": 224.571,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60408,
    "c": 0.1231,
    "h": 268.2
  },
  "luminance": 0.21576
}

Semantic roles & 50–950 ramp

primary
#627DCB
secondary
#D9CEB0
accent
#B64EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #627DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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