#4B52D0#4B52D0

#4B52D0 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.9% C 0.191 H 274.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4B52D0
RGBrgb(75, 82, 208)
HSLhsl(237, 59%, 55%)
HSVhsv(237, 64%, 82%)
CMYKcmyk(63.9%, 60.6%, 0%, 18.4%)
CIE-LABlab(41.35, 36.17, -66.07)
CIE-LCHlch(41.35, 75.33, 298.70°)
OKLaboklab(50.89% 0.0163 -0.1903)
OKLCHoklch(50.89% 0.191 274.9)
XYZxyz(17.3004, 12.0830, 61.0828)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52D0 #D0C94B
analogous
#4B94D0 #4B52D0 #864BD0
triadic
#4B52D0 #D04B52 #52D04B
tetradic
#4B52D0 #D04B94 #D0C94B #4BD086
square
#4B52D0 #D04B94 #D0C94B #4BD086
split-complementary
#4B52D0 #D0864B #94D04B
monochromatic
#21267F #2E35B0 #4B52D0 #7C81DD #ACAFE9

Accessibility & contrast

On white

6.15
#4B52D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4B52D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52D0
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52D0#FFFFFF#000000##FFFFFF
##4B52D01.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D4
Deuteranopia (green-blind)
#005CCE
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4b52d0;
/* rgb */ color: rgb(75, 82, 208);
/* oklch */ color: oklch(50.9% 0.191 274.9);
Tailwind
colors: {
  custom: {
    50: '#8c82df',
    500: '#4b52d0',
    950: '#000000',
  },
}
SCSS
$custom: #4b52d0;
$custom-light: #8c82df;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52d0",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 208
  },
  "hsl": {
    "h": 236.842,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50892,
    "c": 0.19099,
    "h": 274.9
  },
  "luminance": 0.12085
}

Semantic roles & 50–950 ramp

primary
#4B52D0
secondary
#D7D4A0
accent
#DA46E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4B52D0

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

Preview Lab → · Contrast checker → · Palette generator →

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