#626CD4#626CD4

#626CD4 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.5% C 0.158 H 276.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#626CD4
RGBrgb(98, 108, 212)
HSLhsl(235, 57%, 61%)
HSVhsv(235, 54%, 83%)
CMYKcmyk(53.8%, 49.1%, 0%, 16.9%)
CIE-LABlab(49.59, 25.59, -54.97)
CIE-LCHlch(49.59, 60.63, 294.97°)
OKLaboklab(57.53% 0.0168 -0.1568)
OKLCHoklch(57.53% 0.158 276.1)
XYZxyz(22.2794, 18.0738, 64.5892)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626CD4 #D4CA62
analogous
#62A5D4 #626CD4 #9162D4
triadic
#626CD4 #D4626C #6CD462
tetradic
#626CD4 #D462A5 #D4CA62 #62D491
square
#626CD4 #D462A5 #D4CA62 #62D491
split-complementary
#626CD4 #D49162 #A5D462
monochromatic
#283293 #3542C3 #626CD4 #9299E1 #C2C6EE

Accessibility & contrast

On white

4.55
#626CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#626CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626CD4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626CD4#FFFFFF#000000##000000
##626CD41.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#397BD8
Deuteranopia (green-blind)
#2B71D2
Tritanopia (blue-blind)
#2B8396
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #626cd4;
/* rgb */ color: rgb(98, 108, 212);
/* oklch */ color: oklch(57.5% 0.158 276.1);
Tailwind
colors: {
  custom: {
    50: '#9796e2',
    500: '#626cd4',
    950: '#000000',
  },
}
SCSS
$custom: #626cd4;
$custom-light: #9796e2;
$custom-dark: #000000;
JSON
{
  "hex": "#626cd4",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 212
  },
  "hsl": {
    "h": 234.737,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57526,
    "c": 0.15771,
    "h": 276.1
  },
  "luminance": 0.18075
}

Semantic roles & 50–950 ramp

primary
#626CD4
secondary
#DEDBB3
accent
#B621C5
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #626CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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