#627DCC#627DCC

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

Color values

HEX#627DCC
RGBrgb(98, 125, 204)
HSLhsl(225, 51%, 59%)
HSVhsv(225, 52%, 80%)
CMYKcmyk(52%, 38.7%, 0%, 20%)
CIE-LABlab(53.62, 12.67, -43.98)
CIE-LCHlch(53.62, 45.77, 286.07°)
OKLaboklab(60.46% -0.0037 -0.1245)
OKLCHoklch(60.46% 0.125 268.3)
XYZxyz(23.2661, 21.6219, 60.0625)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627DCC #CCB162
analogous
#62B2CC #627DCC #7C62CC
triadic
#627DCC #CC627D #7DCC62
tetradic
#627DCC #CC62B2 #CCB162 #62CC7C
square
#627DCC #CC62B2 #CCB162 #62CC7C
split-complementary
#627DCC #CC7C62 #B2CC62
monochromatic
#2C4388 #3B5AB6 #627DCC #90A3DB #BECAEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627DCC#FFFFFF#000000##000000
##627DCC1.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)
#5E85CF
Deuteranopia (green-blind)
#527CCA
Tritanopia (blue-blind)
#308E9B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #627dcc;
/* rgb */ color: rgb(98, 125, 204);
/* oklch */ color: oklch(60.5% 0.125 268.3);
Tailwind
colors: {
  custom: {
    50: '#95a2dc',
    500: '#627dcc',
    950: '#000000',
  },
}
SCSS
$custom: #627dcc;
$custom-light: #95a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#627dcc",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 224.717,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60464,
    "c": 0.12452,
    "h": 268.3
  },
  "luminance": 0.21624
}

Semantic roles & 50–950 ramp

primary
#627DCC
secondary
#DACFB0
accent
#B74DDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #627DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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