#4B52DC#4B52DC

#4B52DC is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.9% C 0.207 H 274.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4B52DC
RGBrgb(75, 82, 220)
HSLhsl(237, 67%, 58%)
HSVhsv(237, 66%, 86%)
CMYKcmyk(65.9%, 62.7%, 0%, 13.7%)
CIE-LABlab(42.30, 40.19, -71.40)
CIE-LCHlch(42.30, 81.93, 299.38°)
OKLaboklab(51.89% 0.0157 -0.2059)
OKLCHoklch(51.89% 0.207 274.4)
XYZxyz(18.8329, 12.6961, 69.1544)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52DC #DCD54B
analogous
#4B9BDC #4B52DC #8C4BDC
triadic
#4B52DC #DC4B52 #52DC4B
tetradic
#4B52DC #DC4B9B #DCD54B #4BDC8C
square
#4B52DC #DC4B9B #DCD54B #4BDC8C
split-complementary
#4B52DC #DC8C4B #9BDC4B
monochromatic
#1C2291 #262EC4 #4B52DC #7E83E6 #B1B4F0

Accessibility & contrast

On white

5.93
#4B52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4B52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52DC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52DC#FFFFFF#000000##FFFFFF
##4B52DC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b52dc;
/* rgb */ color: rgb(75, 82, 220);
/* oklch */ color: oklch(51.9% 0.207 274.4);
Tailwind
colors: {
  custom: {
    50: '#8e83e8',
    500: '#4b52dc',
    950: '#000000',
  },
}
SCSS
$custom: #4b52dc;
$custom-light: #8e83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52dc",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 237.103,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5189,
    "c": 0.20652,
    "h": 274.4
  },
  "luminance": 0.12698
}

Semantic roles & 50–950 ramp

primary
#4B52DC
secondary
#DEDCA4
accent
#E23DEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4B52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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