#4A52BC#4A52BC

#4A52BC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.164 H 275.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4A52BC
RGBrgb(74, 82, 188)
HSLhsl(236, 46%, 51%)
HSVhsv(236, 61%, 74%)
CMYKcmyk(60.6%, 56.4%, 0%, 26.3%)
CIE-LABlab(39.78, 29.25, -57.01)
CIE-LCHlch(39.78, 64.08, 297.16°)
OKLaboklab(49.24% 0.0153 -0.1637)
OKLCHoklch(49.24% 0.164 275.3)
XYZxyz(14.9155, 11.1201, 48.9276)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52BC #BCB44A
analogous
#4A8BBC #4A52BC #7B4ABC
triadic
#4A52BC #BC4A52 #52BC4A
tetradic
#4A52BC #BC4A8B #BCB44A #4ABC7B
square
#4A52BC #BC4A8B #BCB44A #4ABC7B
split-complementary
#4A52BC #BC7B4A #8BBC4A
monochromatic
#262A66 #363D93 #4A52BC #777DCD #A3A7DD

Accessibility & contrast

On white

6.51
#4A52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4A52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52BC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52BC#FFFFFF#000000##FFFFFF
##4A52BC1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a52bc;
/* rgb */ color: rgb(74, 82, 188);
/* oklch */ color: oklch(49.2% 0.164 275.3);
Tailwind
colors: {
  custom: {
    50: '#8782d1',
    500: '#4a52bc',
    950: '#000000',
  },
}
SCSS
$custom: #4a52bc;
$custom-light: #8782d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52bc",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 235.789,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49243,
    "c": 0.16439,
    "h": 275.3
  },
  "luminance": 0.11121
}

Semantic roles & 50–950 ramp

primary
#4A52BC
secondary
#CAC798
accent
#CC52D6
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4A52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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