#524FBC#524FBC

#524FBC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.3% C 0.167 H 279.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#524FBC
RGBrgb(82, 79, 188)
HSLhsl(242, 45%, 52%)
HSVhsv(242, 58%, 74%)
CMYKcmyk(56.4%, 58%, 0%, 26.3%)
CIE-LABlab(39.61, 32.60, -57.27)
CIE-LCHlch(39.61, 65.90, 299.65°)
OKLaboklab(49.26% 0.0277 -0.1642)
OKLCHoklch(49.26% 0.167 279.6)
XYZxyz(15.3499, 11.0156, 48.8846)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FBC #B9BC4F
analogous
#4F83BC #524FBC #884FBC
triadic
#524FBC #BC524F #4FBC52
tetradic
#524FBC #BC4F83 #B9BC4F #4FBC88
square
#524FBC #BC4F83 #B9BC4F #4FBC88
split-complementary
#524FBC #BC884F #83BC4F
monochromatic
#2A2869 #3B3995 #524FBC #7E7BCD #A9A8DE

Accessibility & contrast

On white

6.56
#524FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#524FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FBC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FBC#FFFFFF#000000##FFFFFF
##524FBC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#1A697E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #524fbc;
/* rgb */ color: rgb(82, 79, 188);
/* oklch */ color: oklch(49.3% 0.167 279.6);
Tailwind
colors: {
  custom: {
    50: '#8c80d1',
    500: '#524fbc',
    950: '#000000',
  },
}
SCSS
$custom: #524fbc;
$custom-light: #8c80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#524fbc",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 241.651,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49259,
    "c": 0.16657,
    "h": 279.6
  },
  "luminance": 0.11017
}

Semantic roles & 50–950 ramp

primary
#524FBC
secondary
#CACB9C
accent
#D553D1
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #524FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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