#626BCB#626BCB

#626BCB is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.7% C 0.146 H 276.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#626BCB
RGBrgb(98, 107, 203)
HSLhsl(235, 50%, 59%)
HSVhsv(235, 52%, 80%)
CMYKcmyk(51.7%, 47.3%, 0%, 20.4%)
CIE-LABlab(48.79, 23.35, -51.11)
CIE-LCHlch(48.79, 56.19, 294.56°)
OKLaboklab(56.75% 0.0169 -0.1455)
OKLCHoklch(56.75% 0.146 276.6)
XYZxyz(21.0708, 17.4226, 58.7409)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626BCB #CBC262
analogous
#62A0CB #626BCB #8E62CB
triadic
#626BCB #CB626B #6BCB62
tetradic
#626BCB #CB62A0 #CBC262 #62CB8E
square
#626BCB #CB62A0 #CBC262 #62CB8E
split-complementary
#626BCB #CB8E62 #A0CB62
monochromatic
#2C3486 #3C46B4 #626BCB #9096DA #BEC2E9

Accessibility & contrast

On white

4.68
#626BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#626BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626BCB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626BCB#FFFFFF#000000##FFFFFF
##626BCB1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4078CF
Deuteranopia (green-blind)
#3570C9
Tritanopia (blue-blind)
#358091
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #626bcb;
/* rgb */ color: rgb(98, 107, 203);
/* oklch */ color: oklch(56.7% 0.146 276.6);
Tailwind
colors: {
  custom: {
    50: '#9695db',
    500: '#626bcb',
    950: '#000000',
  },
}
SCSS
$custom: #626bcb;
$custom-light: #9695db;
$custom-dark: #000000;
JSON
{
  "hex": "#626bcb",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 203
  },
  "hsl": {
    "h": 234.857,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56749,
    "c": 0.14646,
    "h": 276.6
  },
  "luminance": 0.17424
}

Semantic roles & 50–950 ramp

primary
#626BCB
secondary
#D9D5B0
accent
#CE4EDA
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #626BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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