#627DE5#627DE5

#627DE5 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 62.0% C 0.159 H 270.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#627DE5
RGBrgb(98, 125, 229)
HSLhsl(228, 72%, 64%)
HSVhsv(228, 57%, 90%)
CMYKcmyk(57.2%, 45.4%, 0%, 10.2%)
CIE-LABlab(54.99, 20.69, -55.90)
CIE-LCHlch(54.99, 59.61, 290.31°)
OKLaboklab(61.96% 0.0007 -0.1594)
OKLCHoklch(61.96% 0.159 270.3)
XYZxyz(26.5088, 22.9190, 77.1404)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627DE5 #E5CA62
analogous
#62BEE5 #627DE5 #8962E5
triadic
#627DE5 #E5627D #7DE562
tetradic
#627DE5 #E562BE #E5CA62 #62E589
square
#627DE5 #E562BE #E5CA62 #62E589
split-complementary
#627DE5 #E58962 #BEE562
monochromatic
#1D3BB0 #2D52DC #627DE5 #97A8EE #CBD4F6

Accessibility & contrast

On white

3.76
#627DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#627DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627DE5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627DE5#FFFFFF#000000##000000
##627DE51.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8AE9
Deuteranopia (green-blind)
#3A7EE3
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #627de5;
/* rgb */ color: rgb(98, 125, 229);
/* oklch */ color: oklch(62.0% 0.159 270.3);
Tailwind
colors: {
  custom: {
    50: '#98a2ee',
    500: '#627de5',
    950: '#000000',
  },
}
SCSS
$custom: #627de5;
$custom-light: #98a2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#627de5",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 229
  },
  "hsl": {
    "h": 227.634,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61955,
    "c": 0.15938,
    "h": 270.3
  },
  "luminance": 0.22921
}

Semantic roles & 50–950 ramp

primary
#627DE5
secondary
#E8DFBB
accent
#AC12D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0F16
muted
#7E7E84

Preview Lab

Preview with #627DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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