#626BE7#626BE7

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

Color values

HEX#626BE7
RGBrgb(98, 107, 231)
HSLhsl(236, 73%, 65%)
HSVhsv(236, 58%, 91%)
CMYKcmyk(57.6%, 53.7%, 0%, 9.4%)
CIE-LABlab(50.55, 32.29, -64.16)
CIE-LCHlch(50.55, 71.83, 296.72°)
OKLaboklab(58.64% 0.0192 -0.1839)
OKLCHoklch(58.64% 0.185 276)
XYZxyz(24.7138, 18.8798, 77.9277)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626BE7 #E7DE62
analogous
#62AEE7 #626BE7 #9C62E7
triadic
#626BE7 #E7626B #6BE762
tetradic
#626BE7 #E762AE #E7DE62 #62E79C
square
#626BE7 #E762AE #E7DE62 #62E79C
split-complementary
#626BE7 #E79C62 #AEE762
monochromatic
#1B26B3 #2D39DF #626BE7 #979DEF #CCCFF7

Accessibility & contrast

On white

4.40
#626BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##626BE7#FFFFFF#000000##000000
##626BE71.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#197EEB
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#00889F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #626be7;
/* rgb */ color: rgb(98, 107, 231);
/* oklch */ color: oklch(58.6% 0.185 276.0);
Tailwind
colors: {
  custom: {
    50: '#9995ef',
    500: '#626be7',
    950: '#000000',
  },
}
SCSS
$custom: #626be7;
$custom-light: #9995ef;
$custom-dark: #000000;
JSON
{
  "hex": "#626be7",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 235.94,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58636,
    "c": 0.18487,
    "h": 276
  },
  "luminance": 0.18882
}

Semantic roles & 50–950 ramp

primary
#626BE7
secondary
#E9E6BB
accent
#C810D6
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #626BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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