#626ACC#626ACC

#626ACC is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.6% C 0.149 H 277.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#626ACC
RGBrgb(98, 106, 204)
HSLhsl(235, 51%, 59%)
HSVhsv(235, 52%, 80%)
CMYKcmyk(52%, 48%, 0%, 20%)
CIE-LABlab(48.59, 24.28, -52.00)
CIE-LCHlch(48.59, 57.39, 295.03°)
OKLaboklab(56.62% 0.0182 -0.1481)
OKLCHoklch(56.62% 0.149 277)
XYZxyz(21.0867, 17.2631, 59.3360)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626ACC #CCC462
analogous
#629FCC #626ACC #8F62CC
triadic
#626ACC #CC626A #6ACC62
tetradic
#626ACC #CC629F #CCC462 #62CC8F
square
#626ACC #CC629F #CCC462 #62CC8F
split-complementary
#626ACC #CC8F62 #9FCC62
monochromatic
#2C3388 #3B44B6 #626ACC #9096DB #BEC2EA

Accessibility & contrast

On white

4.72
#626ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#626ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626ACC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626ACC#FFFFFF#000000##FFFFFF
##626ACC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D0
Deuteranopia (green-blind)
#316FCA
Tritanopia (blue-blind)
#347F91
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #626acc;
/* rgb */ color: rgb(98, 106, 204);
/* oklch */ color: oklch(56.6% 0.149 277.0);
Tailwind
colors: {
  custom: {
    50: '#9694dc',
    500: '#626acc',
    950: '#000000',
  },
}
SCSS
$custom: #626acc;
$custom-light: #9694dc;
$custom-dark: #000000;
JSON
{
  "hex": "#626acc",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 204
  },
  "hsl": {
    "h": 235.472,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56618,
    "c": 0.14922,
    "h": 277
  },
  "luminance": 0.17264
}

Semantic roles & 50–950 ramp

primary
#626ACC
secondary
#DAD6B0
accent
#D04DDA
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #626ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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