#4B52BA#4B52BA

#4B52BA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.161 H 275.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#4B52BA
RGBrgb(75, 82, 186)
HSLhsl(236, 45%, 51%)
HSVhsv(236, 60%, 73%)
CMYKcmyk(59.7%, 55.9%, 0%, 27.1%)
CIE-LABlab(39.71, 28.76, -55.96)
CIE-LCHlch(39.71, 62.92, 297.20°)
OKLaboklab(49.16% 0.0164 -0.1606)
OKLCHoklch(49.16% 0.161 275.8)
XYZxyz(14.7790, 11.0745, 47.8036)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52BA #BAB34B
analogous
#4B89BA #4B52BA #7B4BBA
triadic
#4B52BA #BA4B52 #52BA4B
tetradic
#4B52BA #BA4B89 #BAB34B #4BBA7B
square
#4B52BA #BA4B89 #BAB34B #4BBA7B
split-complementary
#4B52BA #BA7B4B #89BA4B
monochromatic
#262A64 #373D90 #4B52BA #777DCB #A3A7DC

Accessibility & contrast

On white

6.53
#4B52BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4B52BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52BA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52BA#FFFFFF#000000##FFFFFF
##4B52BA1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4b52ba;
/* rgb */ color: rgb(75, 82, 186);
/* oklch */ color: oklch(49.2% 0.161 275.8);
Tailwind
colors: {
  custom: {
    50: '#8882cf',
    500: '#4b52ba',
    950: '#000000',
  },
}
SCSS
$custom: #4b52ba;
$custom-light: #8882cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52ba",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 236.216,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49158,
    "c": 0.1614,
    "h": 275.8
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

primary
#4B52BA
secondary
#C9C698
accent
#CC54D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4B52BA

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

Preview Lab → · Contrast checker → · Palette generator →

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