#626BD4#626BD4

#626BD4 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.3% C 0.159 H 276.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#626BD4
RGBrgb(98, 107, 212)
HSLhsl(235, 57%, 61%)
HSVhsv(235, 54%, 83%)
CMYKcmyk(53.8%, 49.5%, 0%, 16.9%)
CIE-LABlab(49.33, 26.21, -55.38)
CIE-LCHlch(49.33, 61.26, 295.33°)
OKLaboklab(57.33% 0.0179 -0.158)
OKLCHoklch(57.33% 0.159 276.5)
XYZxyz(22.1746, 17.8641, 64.5542)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626BD4 #D4CB62
analogous
#62A4D4 #626BD4 #9262D4
triadic
#626BD4 #D4626B #6BD462
tetradic
#626BD4 #D462A4 #D4CB62 #62D492
square
#626BD4 #D462A4 #D4CB62 #62D492
split-complementary
#626BD4 #D49262 #A4D462
monochromatic
#283193 #3541C3 #626BD4 #9298E1 #C2C6EE

Accessibility & contrast

On white

4.59
#626BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#626BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #626BD4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626BD4#FFFFFF#000000##FFFFFF
##626BD41.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#377AD8
Deuteranopia (green-blind)
#2871D2
Tritanopia (blue-blind)
#2B8295
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #626bd4;
/* rgb */ color: rgb(98, 107, 212);
/* oklch */ color: oklch(57.3% 0.159 276.5);
Tailwind
colors: {
  custom: {
    50: '#9795e2',
    500: '#626bd4',
    950: '#000000',
  },
}
SCSS
$custom: #626bd4;
$custom-light: #9795e2;
$custom-dark: #000000;
JSON
{
  "hex": "#626bd4",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 212
  },
  "hsl": {
    "h": 235.263,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57334,
    "c": 0.15903,
    "h": 276.5
  },
  "luminance": 0.17866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #626BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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