#4B52E1#4B52E1

#4B52E1 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.3% C 0.213 H 274.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4B52E1
RGBrgb(75, 82, 225)
HSLhsl(237, 71%, 59%)
HSVhsv(237, 67%, 88%)
CMYKcmyk(66.7%, 63.6%, 0%, 11.8%)
CIE-LABlab(42.71, 41.86, -73.58)
CIE-LCHlch(42.71, 84.65, 299.64°)
OKLaboklab(52.32% 0.0154 -0.2123)
OKLCHoklch(52.32% 0.213 274.2)
XYZxyz(19.5050, 12.9649, 72.6941)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52E1 #E1DA4B
analogous
#4B9DE1 #4B52E1 #8F4BE1
triadic
#4B52E1 #E14B52 #52E14B
tetradic
#4B52E1 #E14B9D #E1DA4B #4BE18F
square
#4B52E1 #E14B9D #E1DA4B #4BE18F
split-complementary
#4B52E1 #E18F4B #9DE14B
monochromatic
#191F98 #222ACD #4B52E1 #7F84EA #B4B7F2

Accessibility & contrast

On white

5.84
#4B52E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4B52E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52E1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52E1#FFFFFF#000000##FFFFFF
##4B52E11.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b52e1;
/* rgb */ color: rgb(75, 82, 225);
/* oklch */ color: oklch(52.3% 0.213 274.2);
Tailwind
colors: {
  custom: {
    50: '#8f83eb',
    500: '#4b52e1',
    950: '#000000',
  },
}
SCSS
$custom: #4b52e1;
$custom-light: #8f83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52e1",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 237.2,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52316,
    "c": 0.21287,
    "h": 274.2
  },
  "luminance": 0.12967
}

Semantic roles & 50–950 ramp

primary
#4B52E1
secondary
#E1DFA6
accent
#E63AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4B52E1

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

Preview Lab → · Contrast checker → · Palette generator →

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