#627ECD#627ECD

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

Color values

HEX#627ECD
RGBrgb(98, 126, 205)
HSLhsl(224, 52%, 59%)
HSVhsv(224, 52%, 80%)
CMYKcmyk(52.2%, 38.5%, 0%, 19.6%)
CIE-LABlab(53.95, 12.39, -44.04)
CIE-LCHlch(53.95, 45.75, 285.71°)
OKLaboklab(60.73% -0.0047 -0.1246)
OKLCHoklch(60.73% 0.125 267.8)
XYZxyz(23.5137, 21.9245, 60.7386)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627ECD #CDB162
analogous
#62B4CD #627ECD #7C62CD
triadic
#627ECD #CD627E #7ECD62
tetradic
#627ECD #CD62B4 #CDB162 #62CD7C
square
#627ECD #CD62B4 #CDB162 #62CD7C
split-complementary
#627ECD #CD7C62 #B4CD62
monochromatic
#2C4489 #3A5BB7 #627ECD #90A4DC #BFCAEB

Accessibility & contrast

On white

3.90
#627ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#627ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627ECD
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627ECD#FFFFFF#000000##000000
##627ECD1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86D0
Deuteranopia (green-blind)
#527DCB
Tritanopia (blue-blind)
#2F8F9C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #627ecd;
/* rgb */ color: rgb(98, 126, 205);
/* oklch */ color: oklch(60.7% 0.125 267.8);
Tailwind
colors: {
  custom: {
    50: '#95a3dc',
    500: '#627ecd',
    950: '#000000',
  },
}
SCSS
$custom: #627ecd;
$custom-light: #95a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#627ecd",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 224.299,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6073,
    "c": 0.12471,
    "h": 267.8
  },
  "luminance": 0.21926
}

Semantic roles & 50–950 ramp

primary
#627ECD
secondary
#DACFB1
accent
#B64DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #627ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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