#627CE2#627CE2

#627CE2 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.6% C 0.157 H 270.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#627CE2
RGBrgb(98, 124, 226)
HSLhsl(228, 69%, 64%)
HSVhsv(228, 57%, 89%)
CMYKcmyk(56.6%, 45.1%, 0%, 11.4%)
CIE-LABlab(54.55, 20.33, -54.91)
CIE-LCHlch(54.55, 58.56, 290.31°)
OKLaboklab(61.57% 0.0013 -0.1565)
OKLCHoklch(61.57% 0.157 270.5)
XYZxyz(25.9676, 22.5010, 74.9115)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CE2 #E2C862
analogous
#62BCE2 #627CE2 #8862E2
triadic
#627CE2 #E2627C #7CE262
tetradic
#627CE2 #E262BC #E2C862 #62E288
square
#627CE2 #E262BC #E2C862 #62E288
split-complementary
#627CE2 #E28862 #BCE262
monochromatic
#1F3CAA #2E51D8 #627CE2 #96A7EC #C9D2F5

Accessibility & contrast

On white

3.82
#627CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#627CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CE2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CE2#FFFFFF#000000##000000
##627CE21.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D88E6
Deuteranopia (green-blind)
#3C7DE0
Tritanopia (blue-blind)
#0693A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #627ce2;
/* rgb */ color: rgb(98, 124, 226);
/* oklch */ color: oklch(61.6% 0.157 270.5);
Tailwind
colors: {
  custom: {
    50: '#98a1ec',
    500: '#627ce2',
    950: '#000000',
  },
}
SCSS
$custom: #627ce2;
$custom-light: #98a1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#627ce2",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 227.813,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61567,
    "c": 0.15651,
    "h": 270.5
  },
  "luminance": 0.22503
}

Semantic roles & 50–950 ramp

primary
#627CE2
secondary
#E7DDB9
accent
#AB15D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #627CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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