#627BE7#627BE7

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

Color values

HEX#627BE7
RGBrgb(98, 123, 231)
HSLhsl(229, 73%, 65%)
HSVhsv(229, 58%, 91%)
CMYKcmyk(57.6%, 46.8%, 0%, 9.4%)
CIE-LABlab(54.59, 22.56, -57.66)
CIE-LCHlch(54.59, 61.92, 291.36°)
OKLaboklab(61.69% 0.0031 -0.1646)
OKLCHoklch(61.69% 0.165 271.1)
XYZxyz(26.5390, 22.5301, 78.5360)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BE7 #E7CE62
analogous
#62BEE7 #627BE7 #8C62E7
triadic
#627BE7 #E7627B #7BE762
tetradic
#627BE7 #E762BE #E7CE62 #62E78C
square
#627BE7 #E762BE #E7CE62 #62E78C
split-complementary
#627BE7 #E78C62 #BEE762
monochromatic
#1B38B3 #2D4EDF #627BE7 #97A8EF #CCD4F7

Accessibility & contrast

On white

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

On black

5.51
#627BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BE7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BE7#FFFFFF#000000##000000
##627BE71.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4789EB
Deuteranopia (green-blind)
#337DE5
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627be7;
/* rgb */ color: rgb(98, 123, 231);
/* oklch */ color: oklch(61.7% 0.165 271.1);
Tailwind
colors: {
  custom: {
    50: '#99a0ef',
    500: '#627be7',
    950: '#000000',
  },
}
SCSS
$custom: #627be7;
$custom-light: #99a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#627be7",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 231
  },
  "hsl": {
    "h": 228.722,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61685,
    "c": 0.16462,
    "h": 271.1
  },
  "luminance": 0.22532
}

Semantic roles & 50–950 ramp

primary
#627BE7
secondary
#E9E1BB
accent
#B010D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #627BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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