#626CC6#626CC6

#626CC6 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.6% C 0.138 H 276.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#626CC6
RGBrgb(98, 108, 198)
HSLhsl(234, 47%, 58%)
HSVhsv(234, 51%, 78%)
CMYKcmyk(50.5%, 45.5%, 0%, 22.4%)
CIE-LABlab(48.76, 21.16, -48.29)
CIE-LCHlch(48.76, 52.73, 293.66°)
OKLaboklab(56.63% 0.0151 -0.1372)
OKLCHoklch(56.63% 0.138 276.3)
XYZxyz(20.5894, 17.3978, 55.6883)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626CC6 #C6BC62
analogous
#629EC6 #626CC6 #8A62C6
triadic
#626CC6 #C6626C #6CC662
tetradic
#626CC6 #C6629E #C6BC62 #62C68A
square
#626CC6 #C6629E #C6BC62 #62C68A
split-complementary
#626CC6 #C68A62 #9EC662
monochromatic
#2E367F #3F4AAC #626CC6 #8F96D6 #BCC0E7

Accessibility & contrast

On white

4.69
#626CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#626CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626CC6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626CC6#FFFFFF#000000##FFFFFF
##626CC61.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4678C9
Deuteranopia (green-blind)
#3C70C4
Tritanopia (blue-blind)
#397F8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #626cc6;
/* rgb */ color: rgb(98, 108, 198);
/* oklch */ color: oklch(56.6% 0.138 276.3);
Tailwind
colors: {
  custom: {
    50: '#9595d8',
    500: '#626cc6',
    950: '#000000',
  },
}
SCSS
$custom: #626cc6;
$custom-light: #9595d8;
$custom-dark: #000000;
JSON
{
  "hex": "#626cc6",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 198
  },
  "hsl": {
    "h": 234,
    "s": 46.729,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56631,
    "c": 0.13804,
    "h": 276.3
  },
  "luminance": 0.17399
}

Semantic roles & 50–950 ramp

primary
#626CC6
secondary
#D6D2AE
accent
#C951D6
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #626CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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