#524FAF#524FAF

#524FAF is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.3% C 0.149 H 280.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#524FAF
RGBrgb(82, 79, 175)
HSLhsl(242, 38%, 50%)
HSVhsv(242, 55%, 69%)
CMYKcmyk(53.1%, 54.9%, 0%, 31.4%)
CIE-LABlab(38.69, 28.39, -51.10)
CIE-LCHlch(38.69, 58.46, 299.06°)
OKLaboklab(48.29% 0.0275 -0.1461)
OKLCHoklch(48.29% 0.149 280.7)
XYZxyz(14.0111, 10.4801, 41.8337)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FAF #ACAF4F
analogous
#4F7CAF #524FAF #824FAF
triadic
#524FAF #AF524F #4FAF52
tetradic
#524FAF #AF4F7C #ACAF4F #4FAF82
square
#524FAF #AF4F7C #ACAF4F #4FAF82
split-complementary
#524FAF #AF824F #7CAF4F
monochromatic
#2A295B #3E3C85 #524FAF #7B79C2 #A5A3D5

Accessibility & contrast

On white

6.78
#524FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#524FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FAF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FAF#FFFFFF#000000##FFFFFF
##524FAF1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155FB2
Deuteranopia (green-blind)
#0258AD
Tritanopia (blue-blind)
#2A6577
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #524faf;
/* rgb */ color: rgb(82, 79, 175);
/* oklch */ color: oklch(48.3% 0.149 280.7);
Tailwind
colors: {
  custom: {
    50: '#8a80c7',
    500: '#524faf',
    950: '#000000',
  },
}
SCSS
$custom: #524faf;
$custom-light: #8a80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#524faf",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 241.875,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48287,
    "c": 0.14867,
    "h": 280.7
  },
  "luminance": 0.10481
}

Semantic roles & 50–950 ramp

primary
#524FAF
secondary
#C1C397
accent
#CE5ACA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #524FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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