#4B52E0#4B52E0

#4B52E0 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.2% C 0.212 H 274.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4B52E0
RGBrgb(75, 82, 224)
HSLhsl(237, 71%, 59%)
HSVhsv(237, 67%, 88%)
CMYKcmyk(66.5%, 63.4%, 0%, 12.2%)
CIE-LABlab(42.63, 41.53, -73.14)
CIE-LCHlch(42.63, 84.11, 299.59°)
OKLaboklab(52.23% 0.0155 -0.211)
OKLCHoklch(52.23% 0.212 274.2)
XYZxyz(19.3690, 12.9105, 71.9778)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52E0 #E0D94B
analogous
#4B9CE0 #4B52E0 #8E4BE0
triadic
#4B52E0 #E04B52 #52E04B
tetradic
#4B52E0 #E04B9C #E0D94B #4BE08E
square
#4B52E0 #E04B9C #E0D94B #4BE08E
split-complementary
#4B52E0 #E08E4B #9CE04B
monochromatic
#1A2097 #232BCB #4B52E0 #7F84E9 #B3B6F2

Accessibility & contrast

On white

5.86
#4B52E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4B52E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52E0
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52E0#FFFFFF#000000##FFFFFF
##4B52E01.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE5
Deuteranopia (green-blind)
#005EDD
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b52e0;
/* rgb */ color: rgb(75, 82, 224);
/* oklch */ color: oklch(52.2% 0.212 274.2);
Tailwind
colors: {
  custom: {
    50: '#8f83eb',
    500: '#4b52e0',
    950: '#000000',
  },
}
SCSS
$custom: #4b52e0;
$custom-light: #8f83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52e0",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 224
  },
  "hsl": {
    "h": 237.181,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5223,
    "c": 0.21161,
    "h": 274.2
  },
  "luminance": 0.12912
}

Semantic roles & 50–950 ramp

primary
#4B52E0
secondary
#E1DEA6
accent
#E53AED
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4B52E0

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

Preview Lab → · Contrast checker → · Palette generator →

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