#626CD7#626CD7

#626CD7 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.7% C 0.162 H 276.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#626CD7
RGBrgb(98, 108, 215)
HSLhsl(235, 59%, 61%)
HSVhsv(235, 54%, 84%)
CMYKcmyk(54.4%, 49.8%, 0%, 15.7%)
CIE-LABlab(49.77, 26.55, -56.38)
CIE-LCHlch(49.77, 62.32, 295.22°)
OKLaboklab(57.73% 0.0171 -0.161)
OKLCHoklch(57.73% 0.162 276.1)
XYZxyz(22.6614, 18.2266, 66.6007)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626CD7 #D7CD62
analogous
#62A7D7 #626CD7 #9362D7
triadic
#626CD7 #D7626C #6CD762
tetradic
#626CD7 #D762A7 #D7CD62 #62D793
square
#626CD7 #D762A7 #D7CD62 #62D793
split-complementary
#626CD7 #D79362 #A7D762
monochromatic
#273098 #3340C9 #626CD7 #939AE3 #C4C7F0

Accessibility & contrast

On white

4.52
#626CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#626CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626CD7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626CD7#FFFFFF#000000##000000
##626CD71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#367BDB
Deuteranopia (green-blind)
#2672D5
Tritanopia (blue-blind)
#278497
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #626cd7;
/* rgb */ color: rgb(98, 108, 215);
/* oklch */ color: oklch(57.7% 0.162 276.1);
Tailwind
colors: {
  custom: {
    50: '#9796e4',
    500: '#626cd7',
    950: '#000000',
  },
}
SCSS
$custom: #626cd7;
$custom-light: #9796e4;
$custom-dark: #000000;
JSON
{
  "hex": "#626cd7",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 234.872,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57725,
    "c": 0.16187,
    "h": 276.1
  },
  "luminance": 0.18228
}

Semantic roles & 50–950 ramp

primary
#626CD7
secondary
#E0DDB5
accent
#B91EC7
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #626CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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