#4B52BC#4B52BC

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

Color values

HEX#4B52BC
RGBrgb(75, 82, 188)
HSLhsl(236, 46%, 52%)
HSVhsv(236, 60%, 74%)
CMYKcmyk(60.1%, 56.4%, 0%, 26.3%)
CIE-LABlab(39.85, 29.43, -56.90)
CIE-LCHlch(39.85, 64.06, 297.35°)
OKLaboklab(49.31% 0.0164 -0.1633)
OKLCHoklch(49.31% 0.164 275.7)
XYZxyz(14.9931, 11.1601, 48.9312)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52BC #BCB54B
analogous
#4B8BBC #4B52BC #7D4BBC
triadic
#4B52BC #BC4B52 #52BC4B
tetradic
#4B52BC #BC4B8B #BCB54B #4BBC7D
square
#4B52BC #BC4B8B #BCB54B #4BBC7D
split-complementary
#4B52BC #BC7D4B #8BBC4B
monochromatic
#262A66 #373C93 #4B52BC #787DCD #A4A8DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4b52bc;
/* rgb */ color: rgb(75, 82, 188);
/* oklch */ color: oklch(49.3% 0.164 275.7);
Tailwind
colors: {
  custom: {
    50: '#8882d1',
    500: '#4b52bc',
    950: '#000000',
  },
}
SCSS
$custom: #4b52bc;
$custom-light: #8882d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52bc",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 236.283,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.4931,
    "c": 0.16415,
    "h": 275.7
  },
  "luminance": 0.11161
}

Semantic roles & 50–950 ramp

primary
#4B52BC
secondary
#CAC799
accent
#CD52D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4B52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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