#627ED6#627ED6

#627ED6 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.2% C 0.137 H 268.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#627ED6
RGBrgb(98, 126, 214)
HSLhsl(226, 59%, 61%)
HSVhsv(226, 54%, 84%)
CMYKcmyk(54.2%, 41.1%, 0%, 16.1%)
CIE-LABlab(54.42, 15.25, -48.38)
CIE-LCHlch(54.42, 50.73, 287.49°)
OKLaboklab(61.25% -0.0029 -0.1373)
OKLCHoklch(61.25% 0.137 268.8)
XYZxyz(24.6314, 22.3716, 66.6255)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627ED6 #D6BA62
analogous
#62B8D6 #627ED6 #8062D6
triadic
#627ED6 #D6627E #7ED662
tetradic
#627ED6 #D662B8 #D6BA62 #62D680
square
#627ED6 #D662B8 #D6BA62 #62D680
split-complementary
#627ED6 #D68062 #B8D662
monochromatic
#274296 #3457C7 #627ED6 #93A6E3 #C3CEEF

Accessibility & contrast

On white

3.84
#627ED6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#627ED6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627ED6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627ED6#FFFFFF#000000##000000
##627ED61.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5988D9
Deuteranopia (green-blind)
#4B7DD4
Tritanopia (blue-blind)
#2391A0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #627ed6;
/* rgb */ color: rgb(98, 126, 214);
/* oklch */ color: oklch(61.2% 0.137 268.8);
Tailwind
colors: {
  custom: {
    50: '#96a3e3',
    500: '#627ed6',
    950: '#000000',
  },
}
SCSS
$custom: #627ed6;
$custom-light: #96a3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#627ed6",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 214
  },
  "hsl": {
    "h": 225.517,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61248,
    "c": 0.13735,
    "h": 268.8
  },
  "luminance": 0.22373
}

Semantic roles & 50–950 ramp

primary
#627ED6
secondary
#E0D5B4
accent
#9E1FC6
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #627ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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