#627DEC#627DEC

#627DEC is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.4% C 0.169 H 270.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#627DEC
RGBrgb(98, 125, 236)
HSLhsl(228, 78%, 65%)
HSVhsv(228, 58%, 93%)
CMYKcmyk(58.5%, 47%, 0%, 7.5%)
CIE-LABlab(55.40, 22.97, -59.15)
CIE-LCHlch(55.40, 63.46, 291.23°)
OKLaboklab(62.4% 0.0017 -0.1689)
OKLCHoklch(62.4% 0.169 270.6)
XYZxyz(27.5059, 23.3178, 82.3919)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627DEC #ECD162
analogous
#62C2EC #627DEC #8C62EC
triadic
#627DEC #EC627D #7DEC62
tetradic
#627DEC #EC62C2 #ECD162 #62EC8C
square
#627DEC #EC62C2 #ECD162 #62EC8C
split-complementary
#627DEC #EC8C62 #C2EC62
monochromatic
#1737BD #2B50E5 #627DEC #99AAF3 #CFD7F9

Accessibility & contrast

On white

3.71
#627DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#627DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627DEC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627DEC#FFFFFF#000000##000000
##627DEC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BF0
Deuteranopia (green-blind)
#317FEA
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #627dec;
/* rgb */ color: rgb(98, 125, 236);
/* oklch */ color: oklch(62.4% 0.169 270.6);
Tailwind
colors: {
  custom: {
    50: '#99a2f3',
    500: '#627dec',
    950: '#000000',
  },
}
SCSS
$custom: #627dec;
$custom-light: #99a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#627dec",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 228.261,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62399,
    "c": 0.16895,
    "h": 270.6
  },
  "luminance": 0.2332
}

Semantic roles & 50–950 ramp

primary
#627DEC
secondary
#ECE3BE
accent
#B20BDB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #627DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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