#4A52DB#4A52DB

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

Color values

HEX#4A52DB
RGBrgb(74, 82, 219)
HSLhsl(237, 67%, 57%)
HSVhsv(237, 66%, 86%)
CMYKcmyk(66.2%, 62.6%, 0%, 14.1%)
CIE-LABlab(42.16, 39.72, -71.06)
CIE-LCHlch(42.16, 81.41, 299.20°)
OKLaboklab(51.75% 0.0147 -0.205)
OKLCHoklch(51.75% 0.205 274.1)
XYZxyz(18.6233, 12.6032, 68.4553)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52DB #DBD34A
analogous
#4A9ADB #4A52DB #8B4ADB
triadic
#4A52DB #DB4A52 #52DB4A
tetradic
#4A52DB #DB4A9A #DBD34A #4ADB8B
square
#4A52DB #DB4A9A #DBD34A #4ADB8B
split-complementary
#4A52DB #DB8B4A #9ADB4A
monochromatic
#1C238E #262FC1 #4A52DB #7D83E5 #B0B4EF

Accessibility & contrast

On white

5.96
#4A52DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4A52DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52DB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52DB#FFFFFF#000000##FFFFFF
##4A52DB1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a52db;
/* rgb */ color: rgb(74, 82, 219);
/* oklch */ color: oklch(51.7% 0.205 274.1);
Tailwind
colors: {
  custom: {
    50: '#8d83e7',
    500: '#4a52db',
    950: '#000000',
  },
}
SCSS
$custom: #4a52db;
$custom-light: #8d83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52db",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 236.69,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51745,
    "c": 0.20549,
    "h": 274.1
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#4A52DB
secondary
#DEDAA3
accent
#E03EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4A52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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