#626AD4#626AD4

#626AD4 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.1% C 0.160 H 276.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#626AD4
RGBrgb(98, 106, 212)
HSLhsl(236, 57%, 61%)
HSVhsv(236, 54%, 83%)
CMYKcmyk(53.8%, 50%, 0%, 16.9%)
CIE-LABlab(49.08, 26.82, -55.78)
CIE-LCHlch(49.08, 61.90, 295.68°)
OKLaboklab(57.14% 0.019 -0.1592)
OKLCHoklch(57.14% 0.16 276.8)
XYZxyz(22.0709, 17.6568, 64.5197)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626AD4 #D4CC62
analogous
#62A3D4 #626AD4 #9362D4
triadic
#626AD4 #D4626A #6AD462
tetradic
#626AD4 #D462A3 #D4CC62 #62D493
square
#626AD4 #D462A3 #D4CC62 #62D493
split-complementary
#626AD4 #D49362 #A3D462
monochromatic
#283093 #353FC3 #626AD4 #9298E1 #C2C5EE

Accessibility & contrast

On white

4.63
#626AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#626AD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #626AD4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626AD4#FFFFFF#000000##FFFFFF
##626AD41.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3579D8
Deuteranopia (green-blind)
#2570D2
Tritanopia (blue-blind)
#2B8295
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #626ad4;
/* rgb */ color: rgb(98, 106, 212);
/* oklch */ color: oklch(57.1% 0.160 276.8);
Tailwind
colors: {
  custom: {
    50: '#9794e2',
    500: '#626ad4',
    950: '#000000',
  },
}
SCSS
$custom: #626ad4;
$custom-light: #9794e2;
$custom-dark: #000000;
JSON
{
  "hex": "#626ad4",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 212
  },
  "hsl": {
    "h": 235.789,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57143,
    "c": 0.16036,
    "h": 276.8
  },
  "luminance": 0.17658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #626AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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