#524FBF#524FBF

#524FBF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.5% C 0.171 H 279.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#524FBF
RGBrgb(82, 79, 191)
HSLhsl(242, 47%, 53%)
HSVhsv(242, 59%, 75%)
CMYKcmyk(57.1%, 58.6%, 0%, 25.1%)
CIE-LABlab(39.83, 33.58, -58.67)
CIE-LCHlch(39.83, 67.60, 299.78°)
OKLaboklab(49.49% 0.0277 -0.1684)
OKLCHoklch(49.49% 0.171 279.3)
XYZxyz(15.6767, 11.1463, 50.6055)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FBF #BCBF4F
analogous
#4F84BF #524FBF #8A4FBF
triadic
#524FBF #BF524F #4FBF52
tetradic
#524FBF #BF4F84 #BCBF4F #4FBF8A
square
#524FBF #BF4F84 #BCBF4F #4FBF8A
split-complementary
#524FBF #BF8A4F #84BF4F
monochromatic
#29276C #3A3899 #524FBF #7E7CCF #AAA9E0

Accessibility & contrast

On white

6.50
#524FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#524FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FBF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FBF#FFFFFF#000000##FFFFFF
##524FBF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#146A7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #524fbf;
/* rgb */ color: rgb(82, 79, 191);
/* oklch */ color: oklch(49.5% 0.171 279.3);
Tailwind
colors: {
  custom: {
    50: '#8c80d3',
    500: '#524fbf',
    950: '#000000',
  },
}
SCSS
$custom: #524fbf;
$custom-light: #8c80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#524fbf",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 241.607,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.4949,
    "c": 0.17062,
    "h": 279.3
  },
  "luminance": 0.11147
}

Semantic roles & 50–950 ramp

primary
#524FBF
secondary
#CCCD9D
accent
#D651D3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #524FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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