#4B52BD#4B52BD

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

Color values

HEX#4B52BD
RGBrgb(75, 82, 189)
HSLhsl(236, 46%, 52%)
HSVhsv(236, 60%, 74%)
CMYKcmyk(60.3%, 56.6%, 0%, 25.9%)
CIE-LABlab(39.92, 29.77, -57.37)
CIE-LCHlch(39.92, 64.63, 297.43°)
OKLaboklab(49.39% 0.0164 -0.1647)
OKLCHoklch(49.39% 0.166 275.7)
XYZxyz(15.1013, 11.2034, 49.5009)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52BD #BDB64B
analogous
#4B8BBD #4B52BD #7D4BBD
triadic
#4B52BD #BD4B52 #52BD4B
tetradic
#4B52BD #BD4B8B #BDB64B #4BBD7D
square
#4B52BD #BD4B8B #BDB64B #4BBD7D
split-complementary
#4B52BD #BD7D4B #8BBD4B
monochromatic
#262A68 #363C94 #4B52BD #787DCD #A5A8DE

Accessibility & contrast

On white

6.48
#4B52BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4B52BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52BD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52BD#FFFFFF#000000##FFFFFF
##4B52BD1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.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: #4b52bd;
/* rgb */ color: rgb(75, 82, 189);
/* oklch */ color: oklch(49.4% 0.166 275.7);
Tailwind
colors: {
  custom: {
    50: '#8882d2',
    500: '#4b52bd',
    950: '#000000',
  },
}
SCSS
$custom: #4b52bd;
$custom-light: #8882d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52bd",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 236.316,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49387,
    "c": 0.16553,
    "h": 275.7
  },
  "luminance": 0.11205
}

Semantic roles & 50–950 ramp

primary
#4B52BD
secondary
#CBC899
accent
#CE52D6
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4B52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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