#4B52E8#4B52E8

#4B52E8 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.9% C 0.222 H 273.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4B52E8
RGBrgb(75, 82, 232)
HSLhsl(237, 77%, 60%)
HSVhsv(237, 68%, 91%)
CMYKcmyk(67.7%, 64.7%, 0%, 9%)
CIE-LABlab(43.29, 44.18, -76.59)
CIE-LCHlch(43.29, 88.42, 299.98°)
OKLaboklab(52.92% 0.0149 -0.2211)
OKLCHoklch(52.92% 0.222 273.8)
XYZxyz(20.4796, 13.3547, 77.8267)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52E8 #E8E14B
analogous
#4BA0E8 #4B52E8 #934BE8
triadic
#4B52E8 #E84B52 #52E84B
tetradic
#4B52E8 #E84BA0 #E8E14B #4BE893
square
#4B52E8 #E84BA0 #E8E14B #4BE893
split-complementary
#4B52E8 #E8934B #A0E84B
monochromatic
#151BA4 #1C24DA #4B52E8 #8186EF #B8BAF6

Accessibility & contrast

On white

5.72
#4B52E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4B52E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52E8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52E8#FFFFFF#000000##FFFFFF
##4B52E81.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#005FE5
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b52e8;
/* rgb */ color: rgb(75, 82, 232);
/* oklch */ color: oklch(52.9% 0.222 273.8);
Tailwind
colors: {
  custom: {
    50: '#9083f0',
    500: '#4b52e8',
    950: '#000000',
  },
}
SCSS
$custom: #4b52e8;
$custom-light: #9083f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52e8",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 237.325,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52921,
    "c": 0.22165,
    "h": 273.8
  },
  "luminance": 0.13357
}

Semantic roles & 50–950 ramp

primary
#4B52E8
secondary
#E6E3A9
accent
#D00CDA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4B52E8

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

Preview Lab → · Contrast checker → · Palette generator →

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