#4B52EC#4B52EC

#4B52EC is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.227 H 273.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4B52EC
RGBrgb(75, 82, 236)
HSLhsl(237, 81%, 61%)
HSVhsv(237, 68%, 93%)
CMYKcmyk(68.2%, 65.3%, 0%, 7.5%)
CIE-LABlab(43.63, 45.50, -78.30)
CIE-LCHlch(43.63, 90.56, 300.16°)
OKLaboklab(53.27% 0.0145 -0.2261)
OKLCHoklch(53.27% 0.227 273.7)
XYZxyz(21.0542, 13.5846, 80.8531)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52EC #ECE54B
analogous
#4BA2EC #4B52EC #944BEC
triadic
#4B52EC #EC4B52 #52EC4B
tetradic
#4B52EC #EC4BA2 #ECE54B #4BEC94
square
#4B52EC #EC4BA2 #ECE54B #4BEC94
split-complementary
#4B52EC #EC944B #A2EC4B
monochromatic
#1219AB #1821E2 #4B52EC #8287F2 #BABCF8

Accessibility & contrast

On white

5.65
#4B52EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4B52EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52EC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52EC#FFFFFF#000000##FFFFFF
##4B52EC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF1
Deuteranopia (green-blind)
#0060E9
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4b52ec;
/* rgb */ color: rgb(75, 82, 236);
/* oklch */ color: oklch(53.3% 0.227 273.7);
Tailwind
colors: {
  custom: {
    50: '#9183f3',
    500: '#4b52ec',
    950: '#000000',
  },
}
SCSS
$custom: #4b52ec;
$custom-light: #9183f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52ec",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 237.391,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.22662,
    "h": 273.7
  },
  "luminance": 0.13587
}

Semantic roles & 50–950 ramp

primary
#4B52EC
secondary
#E8E5AB
accent
#D408DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4B52EC

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

Preview Lab → · Contrast checker → · Palette generator →

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