#656398#656398

#656398 is a mid, moderate blue. Relative luminance 0.140; OKLCH L 52.4% C 0.083 H 284.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#656398
RGBrgb(101, 99, 152)
HSLhsl(242, 21%, 49%)
HSVhsv(242, 35%, 60%)
CMYKcmyk(33.6%, 34.9%, 0%, 40.4%)
CIE-LABlab(44.17, 13.78, -28.64)
CIE-LCHlch(44.17, 31.78, 295.70°)
OKLaboklab(52.4% 0.0212 -0.0799)
OKLCHoklch(52.4% 0.083 284.9)
XYZxyz(15.4946, 13.9569, 31.5773)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656398 #969863
analogous
#637C98 #656398 #806398
triadic
#656398 #986563 #639865
tetradic
#656398 #98637C #969863 #639880
square
#656398 #98637C #969863 #639880
split-complementary
#656398 #988063 #7C9863
monochromatic
#34334E #4C4B73 #656398 #8987B1 #ADACC9

Accessibility & contrast

On white

5.54
#656398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#656398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656398
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656398#FFFFFF#000000##FFFFFF
##6563981.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A9A
Deuteranopia (green-blind)
#526797
Tritanopia (blue-blind)
#586D76
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #656398;
/* rgb */ color: rgb(101, 99, 152);
/* oklch */ color: oklch(52.4% 0.083 284.9);
Tailwind
colors: {
  custom: {
    50: '#928fb6',
    500: '#656398',
    950: '#000000',
  },
}
SCSS
$custom: #656398;
$custom-light: #928fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#656398",
  "rgb": {
    "r": 101,
    "g": 99,
    "b": 152
  },
  "hsl": {
    "h": 242.264,
    "s": 21.116,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52398,
    "c": 0.08267,
    "h": 284.9
  },
  "luminance": 0.13957
}

Semantic roles & 50–950 ramp

primary
#656398
secondary
#B7B89F
accent
#BE6ABB
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C11
muted
#7E7D80

Preview Lab

Preview with #656398

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

Preview Lab → · Contrast checker → · Palette generator →

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