#524B95#524B95

#524B95 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.7% C 0.117 H 285.1°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#524B95
RGBrgb(82, 75, 149)
HSLhsl(246, 33%, 44%)
HSVhsv(246, 50%, 58%)
CMYKcmyk(45%, 49.7%, 0%, 41.6%)
CIE-LABlab(35.98, 22.69, -39.89)
CIE-LCHlch(35.98, 45.89, 299.62°)
OKLaboklab(45.71% 0.0305 -0.1132)
OKLCHoklch(45.71% 0.117 285.1)
XYZxyz(11.4190, 8.9954, 29.5626)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524B95 #8E954B
analogous
#4B6995 #524B95 #774B95
triadic
#524B95 #95524B #4B9552
tetradic
#524B95 #954B69 #8E954B #4B9577
square
#524B95 #954B69 #8E954B #4B9577
split-complementary
#524B95 #95774B #69954B
monochromatic
#252244 #3C376C #524B95 #7069B4 #9792C8

Accessibility & contrast

On white

7.50
#524B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#524B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524B95
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524B95#FFFFFF#000000##FFFFFF
##524B951.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5798
Deuteranopia (green-blind)
#2A5293
Tritanopia (blue-blind)
#3D5A69
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #524b95;
/* rgb */ color: rgb(82, 75, 149);
/* oklch */ color: oklch(45.7% 0.117 285.1);
Tailwind
colors: {
  custom: {
    50: '#877db4',
    500: '#524b95',
    950: '#000000',
  },
}
SCSS
$custom: #524b95;
$custom-light: #877db4;
$custom-dark: #000000;
JSON
{
  "hex": "#524b95",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 245.676,
    "s": 33.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45711,
    "c": 0.11721,
    "h": 285.1
  },
  "luminance": 0.08996
}

Semantic roles & 50–950 ramp

primary
#524B95
secondary
#B0B487
accent
#C95FBF
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #524B95

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

Preview Lab → · Contrast checker → · Palette generator →

#524B95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva