#626AE4#626AE4

#626AE4 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.2% C 0.182 H 276.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#626AE4
RGBrgb(98, 106, 228)
HSLhsl(236, 71%, 64%)
HSVhsv(236, 57%, 89%)
CMYKcmyk(57%, 53.5%, 0%, 10.6%)
CIE-LABlab(50.10, 31.94, -63.19)
CIE-LCHlch(50.10, 70.81, 296.81°)
OKLaboklab(58.24% 0.0201 -0.181)
OKLCHoklch(58.24% 0.182 276.3)
XYZxyz(24.1901, 18.5044, 75.6807)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626AE4 #E4DC62
analogous
#62ABE4 #626AE4 #9B62E4
triadic
#626AE4 #E4626A #6AE462
tetradic
#626AE4 #E462AB #E4DC62 #62E49B
square
#626AE4 #E462AB #E4DC62 #62E49B
split-complementary
#626AE4 #E49B62 #ABE462
monochromatic
#1E27AE #2E38DB #626AE4 #969CED #CACDF6

Accessibility & contrast

On white

4.47
#626AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#626AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626AE4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626AE4#FFFFFF#000000##000000
##626AE41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7DE8
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#0C869D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #626ae4;
/* rgb */ color: rgb(98, 106, 228);
/* oklch */ color: oklch(58.2% 0.182 276.3);
Tailwind
colors: {
  custom: {
    50: '#9994ed',
    500: '#626ae4',
    950: '#000000',
  },
}
SCSS
$custom: #626ae4;
$custom-light: #9994ed;
$custom-dark: #000000;
JSON
{
  "hex": "#626ae4",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 228
  },
  "hsl": {
    "h": 236.308,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58241,
    "c": 0.18213,
    "h": 276.3
  },
  "luminance": 0.18506
}

Semantic roles & 50–950 ramp

primary
#626AE4
secondary
#E8E5BA
accent
#C713D3
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #626AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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