#627ED8#627ED8

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

Color values

HEX#627ED8
RGBrgb(98, 126, 216)
HSLhsl(226, 60%, 62%)
HSVhsv(226, 55%, 85%)
CMYKcmyk(54.6%, 41.7%, 0%, 15.3%)
CIE-LABlab(54.53, 15.89, -49.34)
CIE-LCHlch(54.53, 51.83, 287.85°)
OKLaboklab(61.37% -0.0025 -0.1401)
OKLCHoklch(61.37% 0.14 269)
XYZxyz(24.8884, 22.4744, 67.9789)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627ED8 #D8BC62
analogous
#62B9D8 #627ED8 #8162D8
triadic
#627ED8 #D8627E #7ED862
tetradic
#627ED8 #D862B9 #D8BC62 #62D881
square
#627ED8 #D862B9 #D8BC62 #62D881
split-complementary
#627ED8 #D88162 #B9D862
monochromatic
#264199 #3256CA #627ED8 #93A6E4 #C4CFF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627ED8#FFFFFF#000000##000000
##627ED81.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)
#5888DB
Deuteranopia (green-blind)
#4A7ED6
Tritanopia (blue-blind)
#2092A0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #627ed8;
/* rgb */ color: rgb(98, 126, 216);
/* oklch */ color: oklch(61.4% 0.140 269.0);
Tailwind
colors: {
  custom: {
    50: '#97a3e4',
    500: '#627ed8',
    950: '#000000',
  },
}
SCSS
$custom: #627ed8;
$custom-light: #97a3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#627ed8",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 216
  },
  "hsl": {
    "h": 225.763,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61366,
    "c": 0.14014,
    "h": 269
  },
  "luminance": 0.22476
}

Semantic roles & 50–950 ramp

primary
#627ED8
secondary
#E1D6B5
accent
#9F1EC8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #627ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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