#626BC4#626BC4

#626BC4 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.3% C 0.137 H 276.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#626BC4
RGBrgb(98, 107, 196)
HSLhsl(234, 45%, 58%)
HSVhsv(234, 50%, 77%)
CMYKcmyk(50%, 45.4%, 0%, 23.1%)
CIE-LABlab(48.38, 21.15, -47.74)
CIE-LCHlch(48.38, 52.22, 293.89°)
OKLaboklab(56.31% 0.016 -0.1356)
OKLCHoklch(56.31% 0.137 276.7)
XYZxyz(20.2554, 17.0964, 54.4465)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626BC4 #C4BB62
analogous
#629CC4 #626BC4 #8A62C4
triadic
#626BC4 #C4626B #6BC462
tetradic
#626BC4 #C4629C #C4BB62 #62C48A
square
#626BC4 #C4629C #C4BB62 #62C48A
split-complementary
#626BC4 #C48A62 #9CC462
monochromatic
#2F367D #4049A9 #626BC4 #8E95D5 #BBBFE5

Accessibility & contrast

On white

4.75
#626BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#626BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626BC4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626BC4#FFFFFF#000000##FFFFFF
##626BC41.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4577C7
Deuteranopia (green-blind)
#3C6FC2
Tritanopia (blue-blind)
#3B7E8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #626bc4;
/* rgb */ color: rgb(98, 107, 196);
/* oklch */ color: oklch(56.3% 0.137 276.7);
Tailwind
colors: {
  custom: {
    50: '#9595d6',
    500: '#626bc4',
    950: '#000000',
  },
}
SCSS
$custom: #626bc4;
$custom-light: #9595d6;
$custom-dark: #000000;
JSON
{
  "hex": "#626bc4",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 196
  },
  "hsl": {
    "h": 234.49,
    "s": 45.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56308,
    "c": 0.13654,
    "h": 276.7
  },
  "luminance": 0.17098
}

Semantic roles & 50–950 ramp

primary
#626BC4
secondary
#D5D1AD
accent
#C953D5
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #626BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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