#627DCE#627DCE

#627DCE is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.6% C 0.127 H 268.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#627DCE
RGBrgb(98, 125, 206)
HSLhsl(225, 52%, 60%)
HSVhsv(225, 52%, 81%)
CMYKcmyk(52.4%, 39.3%, 0%, 19.2%)
CIE-LABlab(53.73, 13.31, -44.96)
CIE-LCHlch(53.73, 46.88, 286.49°)
OKLaboklab(60.58% -0.0033 -0.1273)
OKLCHoklch(60.58% 0.127 268.5)
XYZxyz(23.5075, 21.7185, 61.3339)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627DCE #CEB362
analogous
#62B3CE #627DCE #7D62CE
triadic
#627DCE #CE627D #7DCE62
tetradic
#627DCE #CE62B3 #CEB362 #62CE7D
square
#627DCE #CE62B3 #CEB362 #62CE7D
split-complementary
#627DCE #CE7D62 #B3CE62
monochromatic
#2B438A #3A5AB9 #627DCE #91A4DD #BFCAEB

Accessibility & contrast

On white

3.93
#627DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#627DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627DCE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627DCE#FFFFFF#000000##000000
##627DCE1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D1
Deuteranopia (green-blind)
#507CCC
Tritanopia (blue-blind)
#2E8E9B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #627dce;
/* rgb */ color: rgb(98, 125, 206);
/* oklch */ color: oklch(60.6% 0.127 268.5);
Tailwind
colors: {
  custom: {
    50: '#95a2dd',
    500: '#627dce',
    950: '#000000',
  },
}
SCSS
$custom: #627dce;
$custom-light: #95a2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#627dce",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 225,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60578,
    "c": 0.12734,
    "h": 268.5
  },
  "luminance": 0.2172
}

Semantic roles & 50–950 ramp

primary
#627DCE
secondary
#DBD0B1
accent
#B84CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #627DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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