#626AE1#626AE1

#626AE1 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 58.0% C 0.178 H 276.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#626AE1
RGBrgb(98, 106, 225)
HSLhsl(236, 68%, 63%)
HSVhsv(236, 56%, 88%)
CMYKcmyk(56.4%, 52.9%, 0%, 11.8%)
CIE-LABlab(49.91, 30.98, -61.82)
CIE-LCHlch(49.91, 69.15, 296.61°)
OKLaboklab(58.03% 0.0199 -0.177)
OKLCHoklch(58.03% 0.178 276.4)
XYZxyz(23.7773, 18.3393, 73.5064)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626AE1 #E1D962
analogous
#62AAE1 #626AE1 #9962E1
triadic
#626AE1 #E1626A #6AE162
tetradic
#626AE1 #E162AA #E1D962 #62E199
square
#626AE1 #E162AA #E1D962 #62E199
split-complementary
#626AE1 #E19962 #AAE162
monochromatic
#2029A8 #2F39D7 #626AE1 #959BEB #C9CCF5

Accessibility & contrast

On white

4.50
#626AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#626AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626AE1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626AE1#FFFFFF#000000##000000
##626AE11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#227CE5
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#15859B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #626ae1;
/* rgb */ color: rgb(98, 106, 225);
/* oklch */ color: oklch(58.0% 0.178 276.4);
Tailwind
colors: {
  custom: {
    50: '#9994eb',
    500: '#626ae1',
    950: '#000000',
  },
}
SCSS
$custom: #626ae1;
$custom-light: #9994eb;
$custom-dark: #000000;
JSON
{
  "hex": "#626ae1",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 225
  },
  "hsl": {
    "h": 236.22,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5803,
    "c": 0.1781,
    "h": 276.4
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#626AE1
secondary
#E6E3B9
accent
#C416D0
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #626AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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