#626BE2#626BE2

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

Color values

HEX#626BE2
RGBrgb(98, 107, 226)
HSLhsl(236, 69%, 64%)
HSVhsv(236, 57%, 89%)
CMYKcmyk(56.6%, 52.7%, 0%, 11.4%)
CIE-LABlab(50.22, 30.69, -61.88)
CIE-LCHlch(50.22, 69.07, 296.38°)
OKLaboklab(58.29% 0.019 -0.1771)
OKLCHoklch(58.29% 0.178 276.1)
XYZxyz(24.0177, 18.6013, 74.2615)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626BE2 #E2D962
analogous
#62ABE2 #626BE2 #9962E2
triadic
#626BE2 #E2626B #6BE262
tetradic
#626BE2 #E262AB #E2D962 #62E299
square
#626BE2 #E262AB #E2D962 #62E299
split-complementary
#626BE2 #E29962 #ABE262
monochromatic
#1F29AA #2E3AD8 #626BE2 #969CEC #C9CCF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626BE2#FFFFFF#000000##000000
##626BE21.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)
#247DE6
Deuteranopia (green-blind)
#0072E0
Tritanopia (blue-blind)
#12869C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #626be2;
/* rgb */ color: rgb(98, 107, 226);
/* oklch */ color: oklch(58.3% 0.178 276.1);
Tailwind
colors: {
  custom: {
    50: '#9995ec',
    500: '#626be2',
    950: '#000000',
  },
}
SCSS
$custom: #626be2;
$custom-light: #9995ec;
$custom-dark: #000000;
JSON
{
  "hex": "#626be2",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 226
  },
  "hsl": {
    "h": 235.781,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58285,
    "c": 0.17816,
    "h": 276.1
  },
  "luminance": 0.18603
}

Semantic roles & 50–950 ramp

primary
#626BE2
secondary
#E7E3B9
accent
#C415D1
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #626BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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