#626B8A#626B8A

#626B8A is a mid, muted blue. Relative luminance 0.149; OKLCH L 53.2% C 0.050 H 272.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#626B8A
RGBrgb(98, 107, 138)
HSLhsl(227, 17%, 46%)
HSVhsv(227, 29%, 54%)
CMYKcmyk(29%, 22.5%, 0%, 45.9%)
CIE-LABlab(45.56, 4.14, -18.16)
CIE-LCHlch(45.56, 18.63, 282.83°)
OKLaboklab(53.21% 0.0018 -0.05)
OKLCHoklch(53.21% 0.05 272)
XYZxyz(14.8809, 14.9466, 26.1408)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626B8A #8A8162
analogous
#627F8A #626B8A #6D628A
triadic
#626B8A #8A626B #6B8A62
tetradic
#626B8A #8A627F #8A8162 #628A6D
square
#626B8A #8A627F #8A8162 #628A6D
split-complementary
#626B8A #8A6D62 #7F8A62
monochromatic
#2F3442 #494F66 #626B8A #838BA7 #A6ACC0

Accessibility & contrast

On white

5.26
#626B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#626B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626B8A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626B8A#FFFFFF#000000##FFFFFF
##626B8A1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626E8B
Deuteranopia (green-blind)
#5F6A89
Tritanopia (blue-blind)
#587175
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #626b8a;
/* rgb */ color: rgb(98, 107, 138);
/* oklch */ color: oklch(53.2% 0.050 272.0);
Tailwind
colors: {
  custom: {
    50: '#8f95ac',
    500: '#626b8a',
    950: '#000000',
  },
}
SCSS
$custom: #626b8a;
$custom-light: #8f95ac;
$custom-dark: #000000;
JSON
{
  "hex": "#626b8a",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 138
  },
  "hsl": {
    "h": 226.5,
    "s": 16.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53214,
    "c": 0.05004,
    "h": 272
  },
  "luminance": 0.14947
}

Semantic roles & 50–950 ramp

primary
#626B8A
secondary
#AFAA99
accent
#A96EBA
background
#F8F9FA
surface
#F0F1F4
border
#CBCBCE
text
#0C0D10
muted
#7D7E7F

Preview Lab

Preview with #626B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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