#626BC7#626BC7

#626BC7 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.5% C 0.141 H 276.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#626BC7
RGBrgb(98, 107, 199)
HSLhsl(235, 47%, 58%)
HSVhsv(235, 51%, 78%)
CMYKcmyk(50.8%, 46.2%, 0%, 22%)
CIE-LABlab(48.55, 22.09, -49.19)
CIE-LCHlch(48.55, 53.92, 294.18°)
OKLaboklab(56.5% 0.0164 -0.1398)
OKLCHoklch(56.5% 0.141 276.7)
XYZxyz(20.6003, 17.2343, 56.2628)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626BC7 #C7BE62
analogous
#629EC7 #626BC7 #8B62C7
triadic
#626BC7 #C7626B #6BC762
tetradic
#626BC7 #C7629E #C7BE62 #62C78B
square
#626BC7 #C7629E #C7BE62 #62C78B
split-complementary
#626BC7 #C78B62 #9EC762
monochromatic
#2E3581 #3E48AE #626BC7 #8F96D7 #BCC0E7

Accessibility & contrast

On white

4.72
#626BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#626BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626BC7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626BC7#FFFFFF#000000##FFFFFF
##626BC71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4378CA
Deuteranopia (green-blind)
#396FC5
Tritanopia (blue-blind)
#387F8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #626bc7;
/* rgb */ color: rgb(98, 107, 199);
/* oklch */ color: oklch(56.5% 0.141 276.7);
Tailwind
colors: {
  custom: {
    50: '#9595d8',
    500: '#626bc7',
    950: '#000000',
  },
}
SCSS
$custom: #626bc7;
$custom-light: #9595d8;
$custom-dark: #000000;
JSON
{
  "hex": "#626bc7",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 234.653,
    "s": 47.418,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56496,
    "c": 0.14081,
    "h": 276.7
  },
  "luminance": 0.17236
}

Semantic roles & 50–950 ramp

primary
#626BC7
secondary
#D7D3AE
accent
#CB51D7
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #626BC7

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

Preview Lab → · Contrast checker → · Palette generator →

#626BC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva