#626EEC#626EEC

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

Color values

HEX#626EEC
RGBrgb(98, 110, 236)
HSLhsl(235, 78%, 65%)
HSVhsv(235, 58%, 93%)
CMYKcmyk(58.5%, 53.4%, 0%, 7.5%)
CIE-LABlab(51.61, 32.09, -65.24)
CIE-LCHlch(51.61, 72.71, 296.19°)
OKLaboklab(59.54% 0.0166 -0.187)
OKLCHoklch(59.54% 0.188 275.1)
XYZxyz(25.7483, 19.8027, 81.8061)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626EEC #ECE062
analogous
#62B3EC #626EEC #9B62EC
triadic
#626EEC #EC626E #6EEC62
tetradic
#626EEC #EC62B3 #ECE062 #62EC9B
square
#626EEC #EC62B3 #ECE062 #62EC9B
split-complementary
#626EEC #EC9B62 #B3EC62
monochromatic
#1725BD #2B3CE5 #626EEC #99A0F3 #CFD3F9

Accessibility & contrast

On white

4.23
#626EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#626EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626EEC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626EEC#FFFFFF#000000##000000
##626EEC1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #626eec;
/* rgb */ color: rgb(98, 110, 236);
/* oklch */ color: oklch(59.5% 0.188 275.1);
Tailwind
colors: {
  custom: {
    50: '#9a97f3',
    500: '#626eec',
    950: '#000000',
  },
}
SCSS
$custom: #626eec;
$custom-light: #9a97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#626eec",
  "rgb": {
    "r": 98,
    "g": 110,
    "b": 236
  },
  "hsl": {
    "h": 234.783,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59541,
    "c": 0.18775,
    "h": 275.1
  },
  "luminance": 0.19805
}

Semantic roles & 50–950 ramp

primary
#626EEC
secondary
#ECE8BE
accent
#C90BDB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #626EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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