#524BAF#524BAF

#524BAF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.154 H 282.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#524BAF
RGBrgb(82, 75, 175)
HSLhsl(244, 40%, 49%)
HSVhsv(244, 57%, 69%)
CMYKcmyk(53.1%, 57.1%, 0%, 31.4%)
CIE-LABlab(37.70, 30.90, -52.70)
CIE-LCHlch(37.70, 61.09, 300.38°)
OKLaboklab(47.55% 0.0319 -0.1508)
OKLCHoklch(47.55% 0.154 282)
XYZxyz(13.7312, 9.9203, 41.7404)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BAF #A8AF4B
analogous
#4B76AF #524BAF #844BAF
triadic
#524BAF #AF524B #4BAF52
tetradic
#524BAF #AF4B76 #A8AF4B #4BAF84
square
#524BAF #AF4B76 #A8AF4B #4BAF84
split-complementary
#524BAF #AF844B #76AF4B
monochromatic
#2A2659 #3E3984 #524BAF #7974C3 #A39FD6

Accessibility & contrast

On white

7.04
#524BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#524BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524BAF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BAF#FFFFFF#000000##FFFFFF
##524BAF1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#2B6275
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #524baf;
/* rgb */ color: rgb(82, 75, 175);
/* oklch */ color: oklch(47.5% 0.154 282.0);
Tailwind
colors: {
  custom: {
    50: '#8a7dc8',
    500: '#524baf',
    950: '#000000',
  },
}
SCSS
$custom: #524baf;
$custom-light: #8a7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#524baf",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 244.2,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4755,
    "c": 0.15418,
    "h": 282
  },
  "luminance": 0.09921
}

Semantic roles & 50–950 ramp

primary
#524BAF
secondary
#BFC293
accent
#D058C7
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #524BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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