#626CA2#626CA2

#626CA2 is a mid, moderate blue. Relative luminance 0.159; OKLCH L 54.6% C 0.085 H 275.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#626CA2
RGBrgb(98, 108, 162)
HSLhsl(231, 26%, 51%)
HSVhsv(231, 40%, 64%)
CMYKcmyk(39.5%, 33.3%, 0%, 36.5%)
CIE-LABlab(46.88, 10.22, -30.34)
CIE-LCHlch(46.88, 32.01, 288.62°)
OKLaboklab(54.58% 0.0077 -0.0848)
OKLCHoklch(54.58% 0.085 275.2)
XYZxyz(16.9192, 15.9297, 36.3587)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626CA2 #A29862
analogous
#628CA2 #626CA2 #7862A2
triadic
#626CA2 #A2626C #6CA262
tetradic
#626CA2 #A2628C #A29862 #62A278
square
#626CA2 #A2628C #A29862 #62A278
split-complementary
#626CA2 #A27862 #8CA262
monochromatic
#333956 #4A527D #626CA2 #8890B9 #AFB4D0

Accessibility & contrast

On white

5.02
#626CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#626CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626CA2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626CA2#FFFFFF#000000##FFFFFF
##626CA21.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A4
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#4F7780
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #626ca2;
/* rgb */ color: rgb(98, 108, 162);
/* oklch */ color: oklch(54.6% 0.085 275.2);
Tailwind
colors: {
  custom: {
    50: '#9196bd',
    500: '#626ca2',
    950: '#000000',
  },
}
SCSS
$custom: #626ca2;
$custom-light: #9196bd;
$custom-dark: #000000;
JSON
{
  "hex": "#626ca2",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 162
  },
  "hsl": {
    "h": 230.625,
    "s": 25.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54582,
    "c": 0.0852,
    "h": 275.2
  },
  "luminance": 0.1593
}

Semantic roles & 50–950 ramp

primary
#626CA2
secondary
#BEBAA2
accent
#B466C2
background
#F9F9FB
surface
#F1F1F6
border
#CBCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #626CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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