#626EEB#626EEB

#626EEB is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.5% C 0.186 H 275.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#626EEB
RGBrgb(98, 110, 235)
HSLhsl(235, 77%, 65%)
HSVhsv(235, 58%, 92%)
CMYKcmyk(58.3%, 53.2%, 0%, 7.8%)
CIE-LABlab(51.55, 31.76, -64.79)
CIE-LCHlch(51.55, 72.16, 296.12°)
OKLaboklab(59.47% 0.0165 -0.1857)
OKLCHoklch(59.47% 0.186 275.1)
XYZxyz(25.6035, 19.7448, 81.0431)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626EEB #EBDF62
analogous
#62B2EB #626EEB #9B62EB
triadic
#626EEB #EB626E #6EEB62
tetradic
#626EEB #EB62B2 #EBDF62 #62EB9B
square
#626EEB #EB62B2 #EBDF62 #62EB9B
split-complementary
#626EEB #EB9B62 #B2EB62
monochromatic
#1826BB #2C3CE4 #626EEB #98A0F2 #CFD2F9

Accessibility & contrast

On white

4.24
#626EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#626EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626EEB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626EEB#FFFFFF#000000##000000
##626EEB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D81EF
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#008BA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #626eeb;
/* rgb */ color: rgb(98, 110, 235);
/* oklch */ color: oklch(59.5% 0.186 275.1);
Tailwind
colors: {
  custom: {
    50: '#9a97f2',
    500: '#626eeb',
    950: '#000000',
  },
}
SCSS
$custom: #626eeb;
$custom-light: #9a97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#626eeb",
  "rgb": {
    "r": 98,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 234.745,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5947,
    "c": 0.18642,
    "h": 275.1
  },
  "luminance": 0.19747
}

Semantic roles & 50–950 ramp

primary
#626EEB
secondary
#EBE7BD
accent
#C80CDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #626EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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