#626EC7#626EC7

#626EC7 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.1% C 0.137 H 275.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#626EC7
RGBrgb(98, 110, 199)
HSLhsl(233, 47%, 58%)
HSVhsv(233, 51%, 78%)
CMYKcmyk(50.8%, 44.7%, 0%, 22%)
CIE-LABlab(49.34, 20.25, -47.94)
CIE-LCHlch(49.34, 52.04, 292.90°)
OKLaboklab(57.09% 0.0129 -0.1361)
OKLCHoklch(57.09% 0.137 275.4)
XYZxyz(20.9185, 17.8708, 56.3689)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626EC7 #C7BB62
analogous
#62A0C7 #626EC7 #8862C7
triadic
#626EC7 #C7626E #6EC762
tetradic
#626EC7 #C762A0 #C7BB62 #62C788
square
#626EC7 #C762A0 #C7BB62 #62C788
split-complementary
#626EC7 #C78862 #A0C762
monochromatic
#2E3881 #3E4BAE #626EC7 #8F98D7 #BCC1E7

Accessibility & contrast

On white

4.59
#626EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#626EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #626EC7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626EC7#FFFFFF#000000##FFFFFF
##626EC71.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#497ACA
Deuteranopia (green-blind)
#3E71C5
Tritanopia (blue-blind)
#388191
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #626ec7;
/* rgb */ color: rgb(98, 110, 199);
/* oklch */ color: oklch(57.1% 0.137 275.4);
Tailwind
colors: {
  custom: {
    50: '#9597d8',
    500: '#626ec7',
    950: '#000000',
  },
}
SCSS
$custom: #626ec7;
$custom-light: #9597d8;
$custom-dark: #000000;
JSON
{
  "hex": "#626ec7",
  "rgb": {
    "r": 98,
    "g": 110,
    "b": 199
  },
  "hsl": {
    "h": 232.871,
    "s": 47.418,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57092,
    "c": 0.13676,
    "h": 275.4
  },
  "luminance": 0.17872
}

Semantic roles & 50–950 ramp

primary
#626EC7
secondary
#D7D2AE
accent
#C751D7
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #626EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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