#627CEC#627CEC

#627CEC is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.2% C 0.170 H 270.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#627CEC
RGBrgb(98, 124, 236)
HSLhsl(229, 78%, 65%)
HSVhsv(229, 58%, 93%)
CMYKcmyk(58.5%, 47.5%, 0%, 7.5%)
CIE-LABlab(55.14, 23.58, -59.57)
CIE-LCHlch(55.14, 64.06, 291.60°)
OKLaboklab(62.2% 0.0027 -0.1702)
OKLCHoklch(62.2% 0.17 270.9)
XYZxyz(27.3799, 23.0659, 82.3499)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CEC #ECD262
analogous
#62C1EC #627CEC #8D62EC
triadic
#627CEC #EC627C #7CEC62
tetradic
#627CEC #EC62C1 #ECD262 #62EC8D
square
#627CEC #EC62C1 #ECD262 #62EC8D
split-complementary
#627CEC #EC8D62 #C1EC62
monochromatic
#1736BD #2B4EE5 #627CEC #99AAF3 #CFD7F9

Accessibility & contrast

On white

3.74
#627CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#627CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CEC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CEC#FFFFFF#000000##000000
##627CEC1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AF0
Deuteranopia (green-blind)
#2E7EEA
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #627cec;
/* rgb */ color: rgb(98, 124, 236);
/* oklch */ color: oklch(62.2% 0.170 270.9);
Tailwind
colors: {
  custom: {
    50: '#99a1f3',
    500: '#627cec',
    950: '#000000',
  },
}
SCSS
$custom: #627cec;
$custom-light: #99a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#627cec",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 228.696,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62202,
    "c": 0.17018,
    "h": 270.9
  },
  "luminance": 0.23068
}

Semantic roles & 50–950 ramp

primary
#627CEC
secondary
#ECE3BE
accent
#B40BDB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #627CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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