#626AEB#626AEB

#626AEB is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.7% C 0.191 H 276.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#626AEB
RGBrgb(98, 106, 235)
HSLhsl(236, 77%, 65%)
HSVhsv(236, 58%, 92%)
CMYKcmyk(58.3%, 54.9%, 0%, 7.8%)
CIE-LABlab(50.57, 34.19, -66.37)
CIE-LCHlch(50.57, 74.66, 297.25°)
OKLaboklab(58.74% 0.0204 -0.1904)
OKLCHoklch(58.74% 0.191 276.1)
XYZxyz(25.1816, 18.9010, 80.9024)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626AEB #EBE362
analogous
#62AFEB #626AEB #9E62EB
triadic
#626AEB #EB626A #6AEB62
tetradic
#626AEB #EB62AF #EBE362 #62EB9E
square
#626AEB #EB62AF #EBE362 #62EB9E
split-complementary
#626AEB #EB9E62 #AFEB62
monochromatic
#1821BB #2C36E4 #626AEB #989EF2 #CFD1F9

Accessibility & contrast

On white

4.39
#626AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#626AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626AEB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626AEB#FFFFFF#000000##000000
##626AEB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#0088A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #626aeb;
/* rgb */ color: rgb(98, 106, 235);
/* oklch */ color: oklch(58.7% 0.191 276.1);
Tailwind
colors: {
  custom: {
    50: '#9a94f2',
    500: '#626aeb',
    950: '#000000',
  },
}
SCSS
$custom: #626aeb;
$custom-light: #9a94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#626aeb",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 236.496,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5874,
    "c": 0.19146,
    "h": 276.1
  },
  "luminance": 0.18903
}

Semantic roles & 50–950 ramp

primary
#626AEB
secondary
#EBE9BD
accent
#CE0CDA
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #626AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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