#626BC2#626BC2

#626BC2 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.2% C 0.134 H 276.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#626BC2
RGBrgb(98, 107, 194)
HSLhsl(234, 44%, 57%)
HSVhsv(234, 49%, 76%)
CMYKcmyk(49.5%, 44.8%, 0%, 23.9%)
CIE-LABlab(48.27, 20.53, -46.77)
CIE-LCHlch(48.27, 51.08, 293.69°)
OKLaboklab(56.18% 0.0157 -0.1328)
OKLCHoklch(56.18% 0.134 276.7)
XYZxyz(20.0293, 17.0059, 53.2555)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626BC2 #C2B962
analogous
#629BC2 #626BC2 #8962C2
triadic
#626BC2 #C2626B #6BC262
tetradic
#626BC2 #C2629B #C2B962 #62C289
square
#626BC2 #C2629B #C2B962 #62C289
split-complementary
#626BC2 #C28962 #9BC262
monochromatic
#2F367A #414AA6 #626BC2 #8E95D3 #BABEE4

Accessibility & contrast

On white

4.77
#626BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#626BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626BC2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626BC2#FFFFFF#000000##FFFFFF
##626BC21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#3E6FC0
Tritanopia (blue-blind)
#3C7E8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #626bc2;
/* rgb */ color: rgb(98, 107, 194);
/* oklch */ color: oklch(56.2% 0.134 276.7);
Tailwind
colors: {
  custom: {
    50: '#9495d5',
    500: '#626bc2',
    950: '#000000',
  },
}
SCSS
$custom: #626bc2;
$custom-light: #9495d5;
$custom-dark: #000000;
JSON
{
  "hex": "#626bc2",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 234.375,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56185,
    "c": 0.13368,
    "h": 276.7
  },
  "luminance": 0.17007
}

Semantic roles & 50–950 ramp

primary
#626BC2
secondary
#D3D0AC
accent
#C854D4
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #626BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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