#627ECC#627ECC

#627ECC is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.7% C 0.123 H 267.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#627ECC
RGBrgb(98, 126, 204)
HSLhsl(224, 51%, 59%)
HSVhsv(224, 52%, 80%)
CMYKcmyk(52%, 38.2%, 0%, 20%)
CIE-LABlab(53.90, 12.07, -43.55)
CIE-LCHlch(53.90, 45.20, 285.49°)
OKLaboklab(60.67% -0.0049 -0.1232)
OKLCHoklch(60.67% 0.123 267.7)
XYZxyz(23.3934, 21.8764, 60.1049)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627ECC #CCB062
analogous
#62B3CC #627ECC #7B62CC
triadic
#627ECC #CC627E #7ECC62
tetradic
#627ECC #CC62B3 #CCB062 #62CC7B
square
#627ECC #CC62B3 #CCB062 #62CC7B
split-complementary
#627ECC #CC7B62 #B3CC62
monochromatic
#2C4488 #3B5BB6 #627ECC #90A4DB #BECAEA

Accessibility & contrast

On white

3.91
#627ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#627ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627ECC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627ECC#FFFFFF#000000##000000
##627ECC1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#537CCA
Tritanopia (blue-blind)
#308F9B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #627ecc;
/* rgb */ color: rgb(98, 126, 204);
/* oklch */ color: oklch(60.7% 0.123 267.7);
Tailwind
colors: {
  custom: {
    50: '#95a3dc',
    500: '#627ecc',
    950: '#000000',
  },
}
SCSS
$custom: #627ecc;
$custom-light: #95a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#627ecc",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 224.151,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60674,
    "c": 0.1233,
    "h": 267.7
  },
  "luminance": 0.21878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #627ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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