#626EA2#626EA2

#626EA2 is a mid, moderate blue. Relative luminance 0.164; OKLCH L 55.0% C 0.082 H 273.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#626EA2
RGBrgb(98, 110, 162)
HSLhsl(229, 26%, 51%)
HSVhsv(229, 40%, 64%)
CMYKcmyk(39.5%, 32.1%, 0%, 36.5%)
CIE-LABlab(47.44, 9.00, -29.47)
CIE-LCHlch(47.44, 30.81, 286.99°)
OKLaboklab(55.01% 0.005 -0.0823)
OKLCHoklch(55.01% 0.082 273.5)
XYZxyz(17.1326, 16.3564, 36.4298)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626EA2 #A29662
analogous
#628EA2 #626EA2 #7662A2
triadic
#626EA2 #A2626E #6EA262
tetradic
#626EA2 #A2628E #A29662 #62A276
square
#626EA2 #A2628E #A29662 #62A276
split-complementary
#626EA2 #A27662 #8EA262
monochromatic
#333A56 #4A537D #626EA2 #8891B9 #AFB5D0

Accessibility & contrast

On white

4.92
#626EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#626EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626EA2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626EA2#FFFFFF#000000##FFFFFF
##626EA21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D73A4
Deuteranopia (green-blind)
#586EA1
Tritanopia (blue-blind)
#4E7881
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #626ea2;
/* rgb */ color: rgb(98, 110, 162);
/* oklch */ color: oklch(55.0% 0.082 273.5);
Tailwind
colors: {
  custom: {
    50: '#9197bd',
    500: '#626ea2',
    950: '#000000',
  },
}
SCSS
$custom: #626ea2;
$custom-light: #9197bd;
$custom-dark: #000000;
JSON
{
  "hex": "#626ea2",
  "rgb": {
    "r": 98,
    "g": 110,
    "b": 162
  },
  "hsl": {
    "h": 228.75,
    "s": 25.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55013,
    "c": 0.08249,
    "h": 273.5
  },
  "luminance": 0.16357
}

Semantic roles & 50–950 ramp

primary
#626EA2
secondary
#BEB9A2
accent
#B166C2
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #626EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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