#4B52D5#4B52D5

#4B52D5 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.3% C 0.198 H 274.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4B52D5
RGBrgb(75, 82, 213)
HSLhsl(237, 62%, 56%)
HSVhsv(237, 65%, 84%)
CMYKcmyk(64.8%, 61.5%, 0%, 16.5%)
CIE-LABlab(41.74, 37.85, -68.31)
CIE-LCHlch(41.74, 78.09, 298.99°)
OKLaboklab(51.3% 0.0161 -0.1968)
OKLCHoklch(51.3% 0.198 274.7)
XYZxyz(17.9252, 12.3330, 64.3738)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52D5 #D5CE4B
analogous
#4B97D5 #4B52D5 #894BD5
triadic
#4B52D5 #D54B52 #52D54B
tetradic
#4B52D5 #D54B97 #D5CE4B #4BD589
square
#4B52D5 #D54B97 #D5CE4B #4BD589
split-complementary
#4B52D5 #D5894B #97D54B
monochromatic
#1F2586 #2B32B8 #4B52D5 #7D82E1 #AEB1EC

Accessibility & contrast

On white

6.06
#4B52D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4B52D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52D5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52D5#FFFFFF#000000##FFFFFF
##4B52D51.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#005CD2
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4b52d5;
/* rgb */ color: rgb(75, 82, 213);
/* oklch */ color: oklch(51.3% 0.198 274.7);
Tailwind
colors: {
  custom: {
    50: '#8d83e3',
    500: '#4b52d5',
    950: '#000000',
  },
}
SCSS
$custom: #4b52d5;
$custom-light: #8d83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52d5",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 236.957,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.19751,
    "h": 274.7
  },
  "luminance": 0.12335
}

Semantic roles & 50–950 ramp

primary
#4B52D5
secondary
#DAD7A2
accent
#DD43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4B52D5

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

Preview Lab → · Contrast checker → · Palette generator →

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