#626CE1#626CE1

#626CE1 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.4% C 0.176 H 275.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#626CE1
RGBrgb(98, 108, 225)
HSLhsl(235, 68%, 63%)
HSVhsv(235, 56%, 88%)
CMYKcmyk(56.4%, 52%, 0%, 11.8%)
CIE-LABlab(50.40, 29.76, -61.02)
CIE-LCHlch(50.40, 67.89, 296.00°)
OKLaboklab(58.4% 0.0179 -0.1746)
OKLCHoklch(58.4% 0.176 275.9)
XYZxyz(23.9858, 18.7563, 73.5760)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626CE1 #E1D762
analogous
#62ABE1 #626CE1 #9762E1
triadic
#626CE1 #E1626C #6CE162
tetradic
#626CE1 #E162AB #E1D762 #62E197
square
#626CE1 #E162AB #E1D762 #62E197
split-complementary
#626CE1 #E19762 #ABE162
monochromatic
#202BA8 #2F3CD7 #626CE1 #959CEB #C9CCF5

Accessibility & contrast

On white

4.42
#626CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#626CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626CE1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626CE1#FFFFFF#000000##000000
##626CE11.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#297DE5
Deuteranopia (green-blind)
#0873DF
Tritanopia (blue-blind)
#14879C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #626ce1;
/* rgb */ color: rgb(98, 108, 225);
/* oklch */ color: oklch(58.4% 0.176 275.9);
Tailwind
colors: {
  custom: {
    50: '#9996eb',
    500: '#626ce1',
    950: '#000000',
  },
}
SCSS
$custom: #626ce1;
$custom-light: #9996eb;
$custom-dark: #000000;
JSON
{
  "hex": "#626ce1",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 225
  },
  "hsl": {
    "h": 235.276,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58402,
    "c": 0.17553,
    "h": 275.9
  },
  "luminance": 0.18758
}

Semantic roles & 50–950 ramp

primary
#626CE1
secondary
#E6E2B9
accent
#C116D0
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #626CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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