#626FEA#626FEA

#626FEA is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.6% C 0.184 H 274.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#626FEA
RGBrgb(98, 111, 234)
HSLhsl(234, 76%, 65%)
HSVhsv(234, 58%, 92%)
CMYKcmyk(58.1%, 52.6%, 0%, 8.2%)
CIE-LABlab(51.73, 30.83, -63.94)
CIE-LCHlch(51.73, 70.98, 295.75°)
OKLaboklab(59.59% 0.0155 -0.1832)
OKLCHoklch(59.59% 0.184 274.8)
XYZxyz(25.5679, 19.9041, 80.3205)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626FEA #EADD62
analogous
#62B3EA #626FEA #9962EA
triadic
#626FEA #EA626F #6FEA62
tetradic
#626FEA #EA62B3 #EADD62 #62EA99
square
#626FEA #EA62B3 #EADD62 #62EA99
split-complementary
#626FEA #EA9962 #B3EA62
monochromatic
#1928B9 #2C3DE3 #626FEA #98A1F1 #CED2F8

Accessibility & contrast

On white

4.22
#626FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#626FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626FEA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626FEA#FFFFFF#000000##000000
##626FEA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2481EE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#008BA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #626fea;
/* rgb */ color: rgb(98, 111, 234);
/* oklch */ color: oklch(59.6% 0.184 274.8);
Tailwind
colors: {
  custom: {
    50: '#9a98f1',
    500: '#626fea',
    950: '#000000',
  },
}
SCSS
$custom: #626fea;
$custom-light: #9a98f1;
$custom-dark: #000000;
JSON
{
  "hex": "#626fea",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 234.265,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59585,
    "c": 0.18382,
    "h": 274.8
  },
  "luminance": 0.19906
}

Semantic roles & 50–950 ramp

primary
#626FEA
secondary
#EBE7BD
accent
#C50DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #626FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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