#626AEC#626AEC

#626AEC is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.8% C 0.193 H 276.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#626AEC
RGBrgb(98, 106, 236)
HSLhsl(237, 78%, 65%)
HSVhsv(237, 58%, 93%)
CMYKcmyk(58.5%, 55.1%, 0%, 7.5%)
CIE-LABlab(50.64, 34.51, -66.82)
CIE-LCHlch(50.64, 75.20, 297.31°)
OKLaboklab(58.81% 0.0204 -0.1917)
OKLCHoklch(58.81% 0.193 276.1)
XYZxyz(25.3265, 18.9590, 81.6655)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626AEC #ECE462
analogous
#62AFEC #626AEC #9F62EC
triadic
#626AEC #EC626A #6AEC62
tetradic
#626AEC #EC62AF #ECE462 #62EC9F
square
#626AEC #EC62AF #ECE462 #62EC9F
split-complementary
#626AEC #EC9F62 #AFEC62
monochromatic
#1720BD #2B36E5 #626AEC #999EF3 #CFD2F9

Accessibility & contrast

On white

4.38
#626AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#626AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626AEC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626AEC#FFFFFF#000000##000000
##626AEC1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF0
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#0089A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #626aec;
/* rgb */ color: rgb(98, 106, 236);
/* oklch */ color: oklch(58.8% 0.193 276.1);
Tailwind
colors: {
  custom: {
    50: '#9a94f3',
    500: '#626aec',
    950: '#000000',
  },
}
SCSS
$custom: #626aec;
$custom-light: #9a94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#626aec",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 236.522,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58812,
    "c": 0.19277,
    "h": 276.1
  },
  "luminance": 0.18961
}

Semantic roles & 50–950 ramp

primary
#626AEC
secondary
#ECE9BE
accent
#CF0BDB
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #626AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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