#626798#626798

#626798 is a mid, moderate blue. Relative luminance 0.146; OKLCH L 53.0% C 0.077 H 278.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#626798
RGBrgb(98, 103, 152)
HSLhsl(234, 22%, 49%)
HSVhsv(234, 36%, 60%)
CMYKcmyk(35.5%, 32.2%, 0%, 40.4%)
CIE-LABlab(45.03, 10.42, -27.32)
CIE-LCHlch(45.03, 29.24, 290.88°)
OKLaboklab(53% 0.012 -0.0761)
OKLCHoklch(53% 0.077 278.9)
XYZxyz(15.5531, 14.5636, 31.6913)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626798 #989362
analogous
#628298 #626798 #786298
triadic
#626798 #986267 #679862
tetradic
#626798 #986282 #989362 #629878
square
#626798 #986282 #989362 #629878
split-complementary
#626798 #987862 #829862
monochromatic
#32354E #4A4E73 #626798 #868AB1 #ABAEC9

Accessibility & contrast

On white

5.37
#626798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #626798
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626798#FFFFFF#000000##FFFFFF
##6267981.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586D9A
Deuteranopia (green-blind)
#556997
Tritanopia (blue-blind)
#537079
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #626798;
/* rgb */ color: rgb(98, 103, 152);
/* oklch */ color: oklch(53.0% 0.077 278.9);
Tailwind
colors: {
  custom: {
    50: '#9092b6',
    500: '#626798',
    950: '#000000',
  },
}
SCSS
$custom: #626798;
$custom-light: #9092b6;
$custom-dark: #000000;
JSON
{
  "hex": "#626798",
  "rgb": {
    "r": 98,
    "g": 103,
    "b": 152
  },
  "hsl": {
    "h": 234.444,
    "s": 21.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53,
    "c": 0.07708,
    "h": 278.9
  },
  "luminance": 0.14564
}

Semantic roles & 50–950 ramp

primary
#626798
secondary
#B8B59E
accent
#B66ABE
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0D11
muted
#7E7D80

Preview Lab

Preview with #626798

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

Preview Lab → · Contrast checker → · Palette generator →

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