#627BE8#627BE8

#627BE8 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.7% C 0.166 H 271.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#627BE8
RGBrgb(98, 123, 232)
HSLhsl(229, 74%, 65%)
HSVhsv(229, 58%, 91%)
CMYKcmyk(57.8%, 47%, 0%, 9%)
CIE-LABlab(54.64, 22.88, -58.13)
CIE-LCHlch(54.64, 62.47, 291.49°)
OKLaboklab(61.75% 0.0032 -0.1659)
OKLCHoklch(61.75% 0.166 271.1)
XYZxyz(26.6806, 22.5867, 79.2820)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BE8 #E8CF62
analogous
#62BEE8 #627BE8 #8C62E8
triadic
#627BE8 #E8627B #7BE862
tetradic
#627BE8 #E862BE #E8CF62 #62E88C
square
#627BE8 #E862BE #E8CF62 #62E88C
split-complementary
#627BE8 #E88C62 #BEE862
monochromatic
#1B37B5 #2D4EE0 #627BE8 #97A8F0 #CDD5F8

Accessibility & contrast

On white

3.81
#627BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#627BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BE8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BE8#FFFFFF#000000##000000
##627BE81.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4689EC
Deuteranopia (green-blind)
#327DE6
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627be8;
/* rgb */ color: rgb(98, 123, 232);
/* oklch */ color: oklch(61.7% 0.166 271.1);
Tailwind
colors: {
  custom: {
    50: '#99a0f0',
    500: '#627be8',
    950: '#000000',
  },
}
SCSS
$custom: #627be8;
$custom-light: #99a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#627be8",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 228.806,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61749,
    "c": 0.16598,
    "h": 271.1
  },
  "luminance": 0.22589
}

Semantic roles & 50–950 ramp

primary
#627BE8
secondary
#EAE1BC
accent
#B10FD7
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #627BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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