#4A52BD#4A52BD

#4A52BD is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.3% C 0.166 H 275.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#4A52BD
RGBrgb(74, 82, 189)
HSLhsl(236, 47%, 52%)
HSVhsv(236, 61%, 74%)
CMYKcmyk(60.8%, 56.6%, 0%, 25.9%)
CIE-LABlab(39.85, 29.59, -57.48)
CIE-LCHlch(39.85, 64.65, 297.24°)
OKLaboklab(49.32% 0.0153 -0.1651)
OKLCHoklch(49.32% 0.166 275.3)
XYZxyz(15.0236, 11.1634, 49.4973)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52BD #BDB54A
analogous
#4A8CBD #4A52BD #7C4ABD
triadic
#4A52BD #BD4A52 #52BD4A
tetradic
#4A52BD #BD4A8C #BDB54A #4ABD7C
square
#4A52BD #BD4A8C #BDB54A #4ABD7C
split-complementary
#4A52BD #BD7C4A #8CBD4A
monochromatic
#262A67 #363C94 #4A52BD #777DCD #A4A8DE

Accessibility & contrast

On white

6.50
#4A52BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4A52BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52BD
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52BD#FFFFFF#000000##FFFFFF
##4A52BD1.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)
#0063C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a52bd;
/* rgb */ color: rgb(74, 82, 189);
/* oklch */ color: oklch(49.3% 0.166 275.3);
Tailwind
colors: {
  custom: {
    50: '#8882d2',
    500: '#4a52bd',
    950: '#000000',
  },
}
SCSS
$custom: #4a52bd;
$custom-light: #8882d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52bd",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 235.826,
    "s": 46.559,
    "l": 51.569
  },
  "oklch": {
    "l": 0.4932,
    "c": 0.16577,
    "h": 275.3
  },
  "luminance": 0.11165
}

Semantic roles & 50–950 ramp

primary
#4A52BD
secondary
#CBC798
accent
#CD52D6
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4A52BD

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

Preview Lab → · Contrast checker → · Palette generator →

#4A52BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva