#4B52DB#4B52DB

#4B52DB is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.8% C 0.205 H 274.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4B52DB
RGBrgb(75, 82, 219)
HSLhsl(237, 67%, 58%)
HSVhsv(237, 66%, 86%)
CMYKcmyk(65.8%, 62.6%, 0%, 14.1%)
CIE-LABlab(42.22, 39.86, -70.96)
CIE-LCHlch(42.22, 81.39, 299.32°)
OKLaboklab(51.81% 0.0158 -0.2046)
OKLCHoklch(51.81% 0.205 274.4)
XYZxyz(18.7009, 12.6433, 68.4590)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52DB #DBD44B
analogous
#4B9ADB #4B52DB #8C4BDB
triadic
#4B52DB #DB4B52 #52DB4B
tetradic
#4B52DB #DB4B9A #DBD44B #4BDB8C
square
#4B52DB #DB4B9A #DBD44B #4BDB8C
split-complementary
#4B52DB #DB8C4B #9ADB4B
monochromatic
#1D228F #272EC2 #4B52DB #7E83E5 #B1B4EF

Accessibility & contrast

On white

5.95
#4B52DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4B52DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52DB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52DB#FFFFFF#000000##FFFFFF
##4B52DB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b52db;
/* rgb */ color: rgb(75, 82, 219);
/* oklch */ color: oklch(51.8% 0.205 274.4);
Tailwind
colors: {
  custom: {
    50: '#8e83e7',
    500: '#4b52db',
    950: '#000000',
  },
}
SCSS
$custom: #4b52db;
$custom-light: #8e83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52db",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 237.083,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51806,
    "c": 0.20524,
    "h": 274.4
  },
  "luminance": 0.12645
}

Semantic roles & 50–950 ramp

primary
#4B52DB
secondary
#DEDBA4
accent
#E13EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4B52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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