#626CB2#626CB2

#626CB2 is a mid, moderate blue. Relative luminance 0.165; OKLCH L 55.4% C 0.109 H 276.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#626CB2
RGBrgb(98, 108, 178)
HSLhsl(233, 34%, 54%)
HSVhsv(233, 45%, 70%)
CMYKcmyk(44.9%, 39.3%, 0%, 30.2%)
CIE-LABlab(47.67, 14.98, -38.46)
CIE-LCHlch(47.67, 41.27, 291.28°)
OKLaboklab(55.45% 0.0116 -0.1084)
OKLCHoklch(55.45% 0.109 276.1)
XYZxyz(18.4330, 16.5352, 44.3312)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626CB2 #B2A862
analogous
#6294B2 #626CB2 #8062B2
triadic
#626CB2 #B2626C #6CB262
tetradic
#626CB2 #B26294 #B2A862 #62B280
square
#626CB2 #B26294 #B2A862 #62B280
split-complementary
#626CB2 #B28062 #94B262
monochromatic
#333967 #475090 #626CB2 #8B92C6 #B4B9DA

Accessibility & contrast

On white

4.88
#626CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#626CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626CB2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626CB2#FFFFFF#000000##FFFFFF
##626CB21.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#477A86
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #626cb2;
/* rgb */ color: rgb(98, 108, 178);
/* oklch */ color: oklch(55.4% 0.109 276.1);
Tailwind
colors: {
  custom: {
    50: '#9395c9',
    500: '#626cb2',
    950: '#000000',
  },
}
SCSS
$custom: #626cb2;
$custom-light: #9395c9;
$custom-dark: #000000;
JSON
{
  "hex": "#626cb2",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 232.5,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55446,
    "c": 0.10905,
    "h": 276.1
  },
  "luminance": 0.16536
}

Semantic roles & 50–950 ramp

primary
#626CB2
secondary
#C9C5A7
accent
#BD5ECA
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #626CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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