#626997#626997

#626997 is a mid, moderate blue. Relative luminance 0.149; OKLCH L 53.4% C 0.073 H 277.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#626997
RGBrgb(98, 105, 151)
HSLhsl(232, 21%, 49%)
HSVhsv(232, 35%, 59%)
CMYKcmyk(35.1%, 30.5%, 0%, 40.8%)
CIE-LABlab(45.54, 8.91, -25.93)
CIE-LCHlch(45.54, 27.42, 288.97°)
OKLaboklab(53.38% 0.0089 -0.0721)
OKLCHoklch(53.38% 0.073 277)
XYZxyz(15.6729, 14.9336, 31.3288)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626997 #979062
analogous
#628497 #626997 #766297
triadic
#626997 #976269 #699762
tetradic
#626997 #976284 #979062 #629776
square
#626997 #976284 #979062 #629776
split-complementary
#626997 #977662 #849762
monochromatic
#32354D #4A4F72 #626997 #868BB0 #ABAFC8

Accessibility & contrast

On white

5.27
#626997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#626997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626997
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626997#FFFFFF#000000##FFFFFF
##6269971.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E99
Deuteranopia (green-blind)
#576A96
Tritanopia (blue-blind)
#537279
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #626997;
/* rgb */ color: rgb(98, 105, 151);
/* oklch */ color: oklch(53.4% 0.073 277.0);
Tailwind
colors: {
  custom: {
    50: '#9093b5',
    500: '#626997',
    950: '#000000',
  },
}
SCSS
$custom: #626997;
$custom-light: #9093b5;
$custom-dark: #000000;
JSON
{
  "hex": "#626997",
  "rgb": {
    "r": 98,
    "g": 105,
    "b": 151
  },
  "hsl": {
    "h": 232.075,
    "s": 21.285,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53381,
    "c": 0.07268,
    "h": 277
  },
  "luminance": 0.14934
}

Semantic roles & 50–950 ramp

primary
#626997
secondary
#B7B49E
accent
#B36ABE
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0D0D11
muted
#7D7E80

Preview Lab

Preview with #626997

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

Preview Lab → · Contrast checker → · Palette generator →

#626997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva