#626CD6#626CD6

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

Color values

HEX#626CD6
RGBrgb(98, 108, 214)
HSLhsl(235, 59%, 61%)
HSVhsv(235, 54%, 84%)
CMYKcmyk(54.2%, 49.5%, 0%, 16.1%)
CIE-LABlab(49.71, 26.23, -55.91)
CIE-LCHlch(49.71, 61.76, 295.14°)
OKLaboklab(57.66% 0.017 -0.1596)
OKLCHoklch(57.66% 0.16 276.1)
XYZxyz(22.5333, 18.1753, 65.9261)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626CD6 #D6CC62
analogous
#62A6D6 #626CD6 #9262D6
triadic
#626CD6 #D6626C #6CD662
tetradic
#626CD6 #D662A6 #D6CC62 #62D692
square
#626CD6 #D662A6 #D6CC62 #62D692
split-complementary
#626CD6 #D69262 #A6D662
monochromatic
#273196 #3441C7 #626CD6 #9399E3 #C3C7EF

Accessibility & contrast

On white

4.53
#626CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#626CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626CD6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626CD6#FFFFFF#000000##000000
##626CD61.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#377BDA
Deuteranopia (green-blind)
#2772D4
Tritanopia (blue-blind)
#288497
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #626cd6;
/* rgb */ color: rgb(98, 108, 214);
/* oklch */ color: oklch(57.7% 0.160 276.1);
Tailwind
colors: {
  custom: {
    50: '#9796e3',
    500: '#626cd6',
    950: '#000000',
  },
}
SCSS
$custom: #626cd6;
$custom-light: #9796e3;
$custom-dark: #000000;
JSON
{
  "hex": "#626cd6",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 234.828,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57658,
    "c": 0.16049,
    "h": 276.1
  },
  "luminance": 0.18177
}

Semantic roles & 50–950 ramp

primary
#626CD6
secondary
#E0DCB4
accent
#B81FC6
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D15
muted
#7E7E84

Preview Lab

Preview with #626CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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