#626FA4#626FA4

#626FA4 is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.3% C 0.084 H 272.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#626FA4
RGBrgb(98, 111, 164)
HSLhsl(228, 27%, 51%)
HSVhsv(228, 40%, 64%)
CMYKcmyk(40.2%, 32.3%, 0%, 35.7%)
CIE-LABlab(47.81, 8.97, -30.06)
CIE-LCHlch(47.81, 31.37, 286.62°)
OKLaboklab(55.33% 0.0042 -0.084)
OKLCHoklch(55.33% 0.084 272.9)
XYZxyz(17.4203, 16.6451, 37.4097)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626FA4 #A49762
analogous
#6290A4 #626FA4 #7662A4
triadic
#626FA4 #A4626F #6FA462
tetradic
#626FA4 #A46290 #A49762 #62A476
square
#626FA4 #A46290 #A49762 #62A476
split-complementary
#626FA4 #A47662 #90A462
monochromatic
#333B58 #4A547F #626FA4 #8993BA #AFB6D1

Accessibility & contrast

On white

4.85
#626FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#626FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626FA4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626FA4#FFFFFF#000000##FFFFFF
##626FA41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A6
Deuteranopia (green-blind)
#586FA3
Tritanopia (blue-blind)
#4D7A82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #626fa4;
/* rgb */ color: rgb(98, 111, 164);
/* oklch */ color: oklch(55.3% 0.084 272.9);
Tailwind
colors: {
  custom: {
    50: '#9198bf',
    500: '#626fa4',
    950: '#000000',
  },
}
SCSS
$custom: #626fa4;
$custom-light: #9198bf;
$custom-dark: #000000;
JSON
{
  "hex": "#626fa4",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 164
  },
  "hsl": {
    "h": 228.182,
    "s": 26.613,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5533,
    "c": 0.08415,
    "h": 272.9
  },
  "luminance": 0.16646
}

Semantic roles & 50–950 ramp

primary
#626FA4
secondary
#BFBAA2
accent
#B065C3
background
#F9F9FB
surface
#F1F2F7
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #626FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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