#626797#626797

#626797 is a mid, moderate blue. Relative luminance 0.145; OKLCH L 52.9% C 0.076 H 278.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#626797
RGBrgb(98, 103, 151)
HSLhsl(234, 21%, 49%)
HSVhsv(234, 35%, 59%)
CMYKcmyk(35.1%, 31.8%, 0%, 40.8%)
CIE-LABlab(44.98, 10.14, -26.79)
CIE-LCHlch(44.98, 28.65, 290.72°)
OKLaboklab(52.95% 0.0117 -0.0746)
OKLCHoklch(52.95% 0.076 278.9)
XYZxyz(15.4716, 14.5310, 31.2617)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626797 #979262
analogous
#628297 #626797 #786297
triadic
#626797 #976267 #679762
tetradic
#626797 #976282 #979262 #629778
square
#626797 #976282 #979262 #629778
split-complementary
#626797 #977862 #829762
monochromatic
#32344D #4A4E72 #626797 #868AB0 #ABAEC8

Accessibility & contrast

On white

5.38
#626797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#626797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626797
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626797#FFFFFF#000000##FFFFFF
##6267971.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586C99
Deuteranopia (green-blind)
#556996
Tritanopia (blue-blind)
#547078
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #626797;
/* rgb */ color: rgb(98, 103, 151);
/* oklch */ color: oklch(52.9% 0.076 278.9);
Tailwind
colors: {
  custom: {
    50: '#9092b5',
    500: '#626797',
    950: '#000000',
  },
}
SCSS
$custom: #626797;
$custom-light: #9092b5;
$custom-dark: #000000;
JSON
{
  "hex": "#626797",
  "rgb": {
    "r": 98,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 234.34,
    "s": 21.285,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5295,
    "c": 0.07555,
    "h": 278.9
  },
  "luminance": 0.14532
}

Semantic roles & 50–950 ramp

primary
#626797
secondary
#B7B59E
accent
#B66ABE
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0D0D11
muted
#7D7D80

Preview Lab

Preview with #626797

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

Preview Lab → · Contrast checker → · Palette generator →

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