#626ED6#626ED6

#626ED6 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.0% C 0.158 H 275.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#626ED6
RGBrgb(98, 110, 214)
HSLhsl(234, 59%, 61%)
HSVhsv(234, 54%, 84%)
CMYKcmyk(54.2%, 48.6%, 0%, 16.1%)
CIE-LABlab(50.22, 25.01, -55.09)
CIE-LCHlch(50.22, 60.50, 294.41°)
OKLaboklab(58.04% 0.0149 -0.1572)
OKLCHoklch(58.04% 0.158 275.4)
XYZxyz(22.7466, 18.6020, 65.9972)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626ED6 #D6CA62
analogous
#62A8D6 #626ED6 #9062D6
triadic
#626ED6 #D6626E #6ED662
tetradic
#626ED6 #D662A8 #D6CA62 #62D690
square
#626ED6 #D662A8 #D6CA62 #62D690
split-complementary
#626ED6 #D69062 #A8D662
monochromatic
#273396 #3443C7 #626ED6 #939BE3 #C3C8EF

Accessibility & contrast

On white

4.45
#626ED6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#626ED6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626ED6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626ED6#FFFFFF#000000##000000
##626ED61.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7CDA
Deuteranopia (green-blind)
#2D73D4
Tritanopia (blue-blind)
#288598
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #626ed6;
/* rgb */ color: rgb(98, 110, 214);
/* oklch */ color: oklch(58.0% 0.158 275.4);
Tailwind
colors: {
  custom: {
    50: '#9797e3',
    500: '#626ed6',
    950: '#000000',
  },
}
SCSS
$custom: #626ed6;
$custom-light: #9797e3;
$custom-dark: #000000;
JSON
{
  "hex": "#626ed6",
  "rgb": {
    "r": 98,
    "g": 110,
    "b": 214
  },
  "hsl": {
    "h": 233.793,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58044,
    "c": 0.15785,
    "h": 275.4
  },
  "luminance": 0.18604
}

Semantic roles & 50–950 ramp

primary
#626ED6
secondary
#E0DBB4
accent
#B51FC6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D15
muted
#7E7E84

Preview Lab

Preview with #626ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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