#627DE2#627DE2

#627DE2 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.8% C 0.155 H 270.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#627DE2
RGBrgb(98, 125, 226)
HSLhsl(227, 69%, 64%)
HSVhsv(227, 57%, 89%)
CMYKcmyk(56.6%, 44.7%, 0%, 11.4%)
CIE-LABlab(54.82, 19.72, -54.50)
CIE-LCHlch(54.82, 57.95, 289.89°)
OKLaboklab(61.77% 0.0003 -0.1553)
OKLCHoklch(61.77% 0.155 270.1)
XYZxyz(26.0935, 22.7529, 74.9535)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627DE2 #E2C762
analogous
#62BDE2 #627DE2 #8762E2
triadic
#627DE2 #E2627D #7DE262
tetradic
#627DE2 #E262BD #E2C762 #62E287
square
#627DE2 #E262BD #E2C762 #62E287
split-complementary
#627DE2 #E28762 #BDE262
monochromatic
#1F3DAA #2E52D8 #627DE2 #96A8EC #C9D3F5

Accessibility & contrast

On white

3.78
#627DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#627DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627DE2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627DE2#FFFFFF#000000##000000
##627DE21.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F89E6
Deuteranopia (green-blind)
#3E7EE0
Tritanopia (blue-blind)
#0593A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627de2;
/* rgb */ color: rgb(98, 125, 226);
/* oklch */ color: oklch(61.8% 0.155 270.1);
Tailwind
colors: {
  custom: {
    50: '#98a2ec',
    500: '#627de2',
    950: '#000000',
  },
}
SCSS
$custom: #627de2;
$custom-light: #98a2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#627de2",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 227.344,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61768,
    "c": 0.15526,
    "h": 270.1
  },
  "luminance": 0.22755
}

Semantic roles & 50–950 ramp

primary
#627DE2
secondary
#E7DDB9
accent
#A915D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #627DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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