#524FBB#524FBB

#524FBB is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.2% C 0.165 H 279.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#524FBB
RGBrgb(82, 79, 187)
HSLhsl(242, 44%, 52%)
HSVhsv(242, 58%, 73%)
CMYKcmyk(56.1%, 57.8%, 0%, 26.7%)
CIE-LABlab(39.53, 32.28, -56.80)
CIE-LCHlch(39.53, 65.33, 299.61°)
OKLaboklab(49.18% 0.0277 -0.1629)
OKLCHoklch(49.18% 0.165 279.7)
XYZxyz(15.2425, 10.9727, 48.3188)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FBB #B8BB4F
analogous
#4F82BB #524FBB #884FBB
triadic
#524FBB #BB524F #4FBB52
tetradic
#524FBB #BB4F82 #B8BB4F #4FBB88
square
#524FBB #BB4F82 #B8BB4F #4FBB88
split-complementary
#524FBB #BB884F #82BB4F
monochromatic
#2A2868 #3C3994 #524FBB #7D7BCC #A9A7DD

Accessibility & contrast

On white

6.57
#524FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#524FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FBB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FBB#FFFFFF#000000##FFFFFF
##524FBB1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#1B687D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #524fbb;
/* rgb */ color: rgb(82, 79, 187);
/* oklch */ color: oklch(49.2% 0.165 279.7);
Tailwind
colors: {
  custom: {
    50: '#8c80d0',
    500: '#524fbb',
    950: '#000000',
  },
}
SCSS
$custom: #524fbb;
$custom-light: #8c80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#524fbb",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 241.667,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49182,
    "c": 0.16521,
    "h": 279.7
  },
  "luminance": 0.10974
}

Semantic roles & 50–950 ramp

primary
#524FBB
secondary
#C9CA9B
accent
#D454D0
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #524FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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