#4A52C4#4A52C4

#4A52C4 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.9% C 0.175 H 275.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4A52C4
RGBrgb(74, 82, 196)
HSLhsl(236, 51%, 53%)
HSVhsv(236, 62%, 77%)
CMYKcmyk(62.2%, 58.2%, 0%, 23.1%)
CIE-LABlab(40.37, 31.96, -60.73)
CIE-LCHlch(40.37, 68.63, 297.76°)
OKLaboklab(49.86% 0.0154 -0.1746)
OKLCHoklch(49.86% 0.175 275)
XYZxyz(15.8019, 11.4747, 53.5960)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52C4 #C4BC4A
analogous
#4A8FC4 #4A52C4 #7F4AC4
triadic
#4A52C4 #C44A52 #52C44A
tetradic
#4A52C4 #C44A8F #C4BC4A #4AC47F
square
#4A52C4 #C44A8F #C4BC4A #4AC47F
split-complementary
#4A52C4 #C47F4A #8FC44A
monochromatic
#24296F #333A9D #4A52C4 #787ED3 #A6AAE2

Accessibility & contrast

On white

6.37
#4A52C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4A52C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52C4
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52C4#FFFFFF#000000##FFFFFF
##4A52C41.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a52c4;
/* rgb */ color: rgb(74, 82, 196);
/* oklch */ color: oklch(49.9% 0.175 275.0);
Tailwind
colors: {
  custom: {
    50: '#8982d7',
    500: '#4a52c4',
    950: '#000000',
  },
}
SCSS
$custom: #4a52c4;
$custom-light: #8982d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52c4",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 236.066,
    "s": 50.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49864,
    "c": 0.17528,
    "h": 275
  },
  "luminance": 0.11476
}

Semantic roles & 50–950 ramp

primary
#4A52C4
secondary
#CFCC9B
accent
#D14DDA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4A52C4

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

Preview Lab → · Contrast checker → · Palette generator →

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