#627FCC#627FCC

#627FCC is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.9% C 0.122 H 267.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#627FCC
RGBrgb(98, 127, 204)
HSLhsl(224, 51%, 59%)
HSVhsv(224, 52%, 80%)
CMYKcmyk(52%, 37.7%, 0%, 20%)
CIE-LABlab(54.17, 11.47, -43.12)
CIE-LCHlch(54.17, 44.62, 284.89°)
OKLaboklab(60.89% -0.0061 -0.1219)
OKLCHoklch(60.89% 0.122 267.2)
XYZxyz(23.5219, 22.1334, 60.1477)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627FCC #CCAF62
analogous
#62B4CC #627FCC #7A62CC
triadic
#627FCC #CC627F #7FCC62
tetradic
#627FCC #CC62B4 #CCAF62 #62CC7A
square
#627FCC #CC62B4 #CCAF62 #62CC7A
split-complementary
#627FCC #CC7A62 #B4CC62
monochromatic
#2C4588 #3B5DB6 #627FCC #90A5DB #BECAEA

Accessibility & contrast

On white

3.87
#627FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#627FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627FCC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627FCC#FFFFFF#000000##000000
##627FCC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CF
Deuteranopia (green-blind)
#557DCA
Tritanopia (blue-blind)
#30909C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #627fcc;
/* rgb */ color: rgb(98, 127, 204);
/* oklch */ color: oklch(60.9% 0.122 267.2);
Tailwind
colors: {
  custom: {
    50: '#95a3dc',
    500: '#627fcc',
    950: '#000000',
  },
}
SCSS
$custom: #627fcc;
$custom-light: #95a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#627fcc",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 223.585,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60885,
    "c": 0.12208,
    "h": 267.2
  },
  "luminance": 0.22135
}

Semantic roles & 50–950 ramp

primary
#627FCC
secondary
#DACEB0
accent
#B44DDA
background
#F9FAFD
surface
#F2F3FB
border
#CCCDD4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #627FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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