#52489D#52489D

#52489D is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.133 H 285.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#52489D
RGBrgb(82, 72, 157)
HSLhsl(247, 37%, 45%)
HSVhsv(247, 54%, 62%)
CMYKcmyk(47.8%, 54.1%, 0%, 38.4%)
CIE-LABlab(35.72, 27.08, -45.14)
CIE-LCHlch(35.72, 52.64, 300.96°)
OKLaboklab(45.68% 0.0349 -0.1286)
OKLCHoklch(45.68% 0.133 285.2)
XYZxyz(11.8811, 8.8624, 32.9763)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52489D #939D48
analogous
#48689D #52489D #7D489D
triadic
#52489D #9D5248 #489D52
tetradic
#52489D #9D4868 #939D48 #489D7D
square
#52489D #9D4868 #939D48 #489D7D
split-complementary
#52489D #9D7D48 #689D48
monochromatic
#262249 #3C3573 #52489D #7268BA #9992CD

Accessibility & contrast

On white

7.57
#52489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#52489D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52489D
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52489D#FFFFFF#000000##FFFFFF
##52489D1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D56A0
Deuteranopia (green-blind)
#19519B
Tritanopia (blue-blind)
#395B6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #52489d;
/* rgb */ color: rgb(82, 72, 157);
/* oklch */ color: oklch(45.7% 0.133 285.2);
Tailwind
colors: {
  custom: {
    50: '#887bba',
    500: '#52489d',
    950: '#000000',
  },
}
SCSS
$custom: #52489d;
$custom-light: #887bba;
$custom-dark: #000000;
JSON
{
  "hex": "#52489d",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 247.059,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45683,
    "c": 0.13327,
    "h": 285.2
  },
  "luminance": 0.08863
}

Semantic roles & 50–950 ramp

primary
#52489D
secondary
#B3B988
accent
#CD5BC0
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #52489D

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

Preview Lab → · Contrast checker → · Palette generator →

#52489D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva