#626397#626397

#626397 is a mid, moderate blue. Relative luminance 0.138; OKLCH L 52.1% C 0.081 H 282.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#626397
RGBrgb(98, 99, 151)
HSLhsl(239, 21%, 49%)
HSVhsv(239, 35%, 59%)
CMYKcmyk(35.1%, 34.4%, 0%, 40.8%)
CIE-LABlab(43.88, 12.60, -28.52)
CIE-LCHlch(43.88, 31.18, 293.84°)
OKLaboklab(52.1% 0.0174 -0.0796)
OKLCHoklch(52.1% 0.081 282.3)
XYZxyz(15.0832, 13.7542, 31.1323)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626397 #979662
analogous
#627E97 #626397 #7C6297
triadic
#626397 #976263 #639762
tetradic
#626397 #97627E #979662 #62977C
square
#626397 #97627E #979662 #62977C
split-complementary
#626397 #977C62 #7E9762
monochromatic
#32324D #4A4B72 #626397 #8687B0 #ABACC8

Accessibility & contrast

On white

5.60
#626397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#626397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626397
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626397#FFFFFF#000000##FFFFFF
##6263971.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A99
Deuteranopia (green-blind)
#516696
Tritanopia (blue-blind)
#546D76
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #626397;
/* rgb */ color: rgb(98, 99, 151);
/* oklch */ color: oklch(52.1% 0.081 282.3);
Tailwind
colors: {
  custom: {
    50: '#908fb6',
    500: '#626397',
    950: '#000000',
  },
}
SCSS
$custom: #626397;
$custom-light: #908fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#626397",
  "rgb": {
    "r": 98,
    "g": 99,
    "b": 151
  },
  "hsl": {
    "h": 238.868,
    "s": 21.285,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52096,
    "c": 0.08149,
    "h": 282.3
  },
  "luminance": 0.13755
}

Semantic roles & 50–950 ramp

primary
#626397
secondary
#B7B79E
accent
#BC6ABE
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C11
muted
#7E7D80

Preview Lab

Preview with #626397

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

Preview Lab → · Contrast checker → · Palette generator →

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