#4B52E3#4B52E3

#4B52E3 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.5% C 0.215 H 274.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4B52E3
RGBrgb(75, 82, 227)
HSLhsl(237, 73%, 59%)
HSVhsv(237, 67%, 89%)
CMYKcmyk(67%, 63.9%, 0%, 11%)
CIE-LABlab(42.88, 42.52, -74.44)
CIE-LCHlch(42.88, 85.73, 299.74°)
OKLaboklab(52.49% 0.0153 -0.2148)
OKLCHoklch(52.49% 0.215 274.1)
XYZxyz(19.7795, 13.0747, 74.1394)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52E3 #E3DC4B
analogous
#4B9EE3 #4B52E3 #904BE3
triadic
#4B52E3 #E34B52 #52E34B
tetradic
#4B52E3 #E34B9E #E3DC4B #4BE390
square
#4B52E3 #E34B9E #E3DC4B #4BE390
split-complementary
#4B52E3 #E3904B #9EE34B
monochromatic
#181E9B #2029D0 #4B52E3 #8085EB #B5B8F3

Accessibility & contrast

On white

5.81
#4B52E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4B52E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52E3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52E3#FFFFFF#000000##FFFFFF
##4B52E31.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#005EE0
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b52e3;
/* rgb */ color: rgb(75, 82, 227);
/* oklch */ color: oklch(52.5% 0.215 274.1);
Tailwind
colors: {
  custom: {
    50: '#8f83ed',
    500: '#4b52e3',
    950: '#000000',
  },
}
SCSS
$custom: #4b52e3;
$custom-light: #8f83ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52e3",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 237.237,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52488,
    "c": 0.21539,
    "h": 274.1
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#4B52E3
secondary
#E3E0A7
accent
#E738F0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4B52E3

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

Preview Lab → · Contrast checker → · Palette generator →

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