#4B52D7#4B52D7

#4B52D7 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.5% C 0.200 H 274.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4B52D7
RGBrgb(75, 82, 215)
HSLhsl(237, 64%, 57%)
HSVhsv(237, 65%, 84%)
CMYKcmyk(65.1%, 61.9%, 0%, 15.7%)
CIE-LABlab(41.90, 38.52, -69.19)
CIE-LCHlch(41.90, 79.19, 299.11°)
OKLaboklab(51.47% 0.016 -0.1995)
OKLCHoklch(51.47% 0.2 274.6)
XYZxyz(18.1806, 12.4351, 65.7189)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52D7 #D7D04B
analogous
#4B98D7 #4B52D7 #8A4BD7
triadic
#4B52D7 #D74B52 #52D74B
tetradic
#4B52D7 #D74B98 #D7D04B #4BD78A
square
#4B52D7 #D74B98 #D7D04B #4BD78A
split-complementary
#4B52D7 #D78A4B #98D74B
monochromatic
#1E2489 #2A31BB #4B52D7 #7D82E2 #AFB2ED

Accessibility & contrast

On white

6.02
#4B52D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4B52D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52D7
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52D7#FFFFFF#000000##FFFFFF
##4B52D71.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#005DD4
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4b52d7;
/* rgb */ color: rgb(75, 82, 215);
/* oklch */ color: oklch(51.5% 0.200 274.6);
Tailwind
colors: {
  custom: {
    50: '#8d83e4',
    500: '#4b52d7',
    950: '#000000',
  },
}
SCSS
$custom: #4b52d7;
$custom-light: #8d83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52d7",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 237,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5147,
    "c": 0.2001,
    "h": 274.6
  },
  "luminance": 0.12437
}

Semantic roles & 50–950 ramp

primary
#4B52D7
secondary
#DBD9A2
accent
#DE41E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4B52D7

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

Preview Lab → · Contrast checker → · Palette generator →

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