#4B52D4#4B52D4

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

Color values

HEX#4B52D4
RGBrgb(75, 82, 212)
HSLhsl(237, 61%, 56%)
HSVhsv(237, 65%, 83%)
CMYKcmyk(64.6%, 61.3%, 0%, 16.9%)
CIE-LABlab(41.66, 37.52, -67.86)
CIE-LCHlch(41.66, 77.54, 298.94°)
OKLaboklab(51.22% 0.0161 -0.1955)
OKLCHoklch(51.22% 0.196 274.7)
XYZxyz(17.7987, 12.2824, 63.7074)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52D4 #D4CD4B
analogous
#4B97D4 #4B52D4 #894BD4
triadic
#4B52D4 #D44B52 #52D44B
tetradic
#4B52D4 #D44B97 #D4CD4B #4BD489
square
#4B52D4 #D44B97 #D4CD4B #4BD489
split-complementary
#4B52D4 #D4894B #97D44B
monochromatic
#202585 #2C33B6 #4B52D4 #7C81E0 #AEB1EC

Accessibility & contrast

On white

6.07
#4B52D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4B52D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52D4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52D4#FFFFFF#000000##FFFFFF
##4B52D41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#005CD1
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4b52d4;
/* rgb */ color: rgb(75, 82, 212);
/* oklch */ color: oklch(51.2% 0.196 274.7);
Tailwind
colors: {
  custom: {
    50: '#8c83e2',
    500: '#4b52d4',
    950: '#000000',
  },
}
SCSS
$custom: #4b52d4;
$custom-light: #8c83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52d4",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 236.934,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51221,
    "c": 0.19621,
    "h": 274.7
  },
  "luminance": 0.12284
}

Semantic roles & 50–950 ramp

primary
#4B52D4
secondary
#DAD7A1
accent
#DC43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #4B52D4

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

Preview Lab → · Contrast checker → · Palette generator →

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