#4B52D2#4B52D2

#4B52D2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.194 H 274.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4B52D2
RGBrgb(75, 82, 210)
HSLhsl(237, 60%, 56%)
HSVhsv(237, 64%, 82%)
CMYKcmyk(64.3%, 61%, 0%, 17.6%)
CIE-LABlab(41.50, 36.85, -66.97)
CIE-LCHlch(41.50, 76.44, 298.82°)
OKLaboklab(51.06% 0.0162 -0.1929)
OKLCHoklch(51.06% 0.194 274.8)
XYZxyz(17.5480, 12.1821, 62.3869)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52D2 #D2CB4B
analogous
#4B95D2 #4B52D2 #874BD2
triadic
#4B52D2 #D24B52 #52D24B
tetradic
#4B52D2 #D24B95 #D2CB4B #4BD287
square
#4B52D2 #D24B95 #D2CB4B #4BD287
split-complementary
#4B52D2 #D2874B #95D24B
monochromatic
#212682 #2D34B3 #4B52D2 #7C81DE #ADB0EA

Accessibility & contrast

On white

6.11
#4B52D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4B52D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52D2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52D2#FFFFFF#000000##FFFFFF
##4B52D21.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4b52d2;
/* rgb */ color: rgb(75, 82, 210);
/* oklch */ color: oklch(51.1% 0.194 274.8);
Tailwind
colors: {
  custom: {
    50: '#8c82e1',
    500: '#4b52d2',
    950: '#000000',
  },
}
SCSS
$custom: #4b52d2;
$custom-light: #8c82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52d2",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 236.889,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51056,
    "c": 0.19361,
    "h": 274.8
  },
  "luminance": 0.12184
}

Semantic roles & 50–950 ramp

primary
#4B52D2
secondary
#D8D5A0
accent
#DB45E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4B52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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