#626FA2#626FA2

#626FA2 is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.2% C 0.081 H 272.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#626FA2
RGBrgb(98, 111, 162)
HSLhsl(228, 26%, 51%)
HSVhsv(228, 40%, 64%)
CMYKcmyk(39.5%, 31.5%, 0%, 36.5%)
CIE-LABlab(47.72, 8.39, -29.03)
CIE-LCHlch(47.72, 30.22, 286.12°)
OKLaboklab(55.23% 0.0036 -0.0811)
OKLCHoklch(55.23% 0.081 272.6)
XYZxyz(17.2411, 16.5734, 36.4660)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626FA2 #A29562
analogous
#628FA2 #626FA2 #7562A2
triadic
#626FA2 #A2626F #6FA262
tetradic
#626FA2 #A2628F #A29562 #62A275
square
#626FA2 #A2628F #A29562 #62A275
split-complementary
#626FA2 #A27562 #8FA262
monochromatic
#333A56 #4A547D #626FA2 #8892B9 #AFB6D0

Accessibility & contrast

On white

4.87
#626FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #626FA2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626FA2#FFFFFF#000000##FFFFFF
##626FA21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#596FA1
Tritanopia (blue-blind)
#4E7981
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #626fa2;
/* rgb */ color: rgb(98, 111, 162);
/* oklch */ color: oklch(55.2% 0.081 272.6);
Tailwind
colors: {
  custom: {
    50: '#9198bd',
    500: '#626fa2',
    950: '#000000',
  },
}
SCSS
$custom: #626fa2;
$custom-light: #9198bd;
$custom-dark: #000000;
JSON
{
  "hex": "#626fa2",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 162
  },
  "hsl": {
    "h": 227.813,
    "s": 25.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55229,
    "c": 0.08116,
    "h": 272.6
  },
  "luminance": 0.16574
}

Semantic roles & 50–950 ramp

primary
#626FA2
secondary
#BEB8A2
accent
#AF66C2
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #626FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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