#626BD5#626BD5

#626BD5 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.4% C 0.160 H 276.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#626BD5
RGBrgb(98, 107, 213)
HSLhsl(235, 58%, 61%)
HSVhsv(235, 54%, 84%)
CMYKcmyk(54%, 49.8%, 0%, 16.5%)
CIE-LABlab(49.39, 26.53, -55.85)
CIE-LCHlch(49.39, 61.83, 295.41°)
OKLaboklab(57.4% 0.018 -0.1594)
OKLCHoklch(57.4% 0.16 276.4)
XYZxyz(22.3011, 17.9147, 65.2206)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626BD5 #D5CC62
analogous
#62A4D5 #626BD5 #9262D5
triadic
#626BD5 #D5626B #6BD562
tetradic
#626BD5 #D562A4 #D5CC62 #62D592
square
#626BD5 #D562A4 #D5CC62 #62D592
split-complementary
#626BD5 #D59262 #A4D562
monochromatic
#283095 #3540C5 #626BD5 #9299E2 #C3C6EF

Accessibility & contrast

On white

4.58
#626BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#626BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626BD5
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626BD5#FFFFFF#000000##000000
##626BD51.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#367AD9
Deuteranopia (green-blind)
#2671D3
Tritanopia (blue-blind)
#2A8396
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #626bd5;
/* rgb */ color: rgb(98, 107, 213);
/* oklch */ color: oklch(57.4% 0.160 276.4);
Tailwind
colors: {
  custom: {
    50: '#9795e2',
    500: '#626bd5',
    950: '#000000',
  },
}
SCSS
$custom: #626bd5;
$custom-light: #9795e2;
$custom-dark: #000000;
JSON
{
  "hex": "#626bd5",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 213
  },
  "hsl": {
    "h": 235.304,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.574,
    "c": 0.16041,
    "h": 276.4
  },
  "luminance": 0.17916
}

Semantic roles & 50–950 ramp

primary
#626BD5
secondary
#DFDCB4
accent
#B820C5
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #626BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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