#4A52BF#4A52BF

#4A52BF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.5% C 0.169 H 275.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4A52BF
RGBrgb(74, 82, 191)
HSLhsl(236, 48%, 52%)
HSVhsv(236, 61%, 75%)
CMYKcmyk(61.3%, 57.1%, 0%, 25.1%)
CIE-LABlab(40.00, 30.27, -58.41)
CIE-LCHlch(40.00, 65.79, 297.39°)
OKLaboklab(49.47% 0.0153 -0.1678)
OKLCHoklch(49.47% 0.169 275.2)
XYZxyz(15.2422, 11.2508, 50.6485)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52BF #BFB74A
analogous
#4A8DBF #4A52BF #7C4ABF
triadic
#4A52BF #BF4A52 #52BF4A
tetradic
#4A52BF #BF4A8D #BFB74A #4ABF7C
square
#4A52BF #BF4A8D #BFB74A #4ABF7C
split-complementary
#4A52BF #BF7C4A #8DBF4A
monochromatic
#252A69 #353C97 #4A52BF #777DCF #A4A8DF

Accessibility & contrast

On white

6.46
#4A52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4A52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52BF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52BF#FFFFFF#000000##FFFFFF
##4A52BF1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a52bf;
/* rgb */ color: rgb(74, 82, 191);
/* oklch */ color: oklch(49.5% 0.169 275.2);
Tailwind
colors: {
  custom: {
    50: '#8882d3',
    500: '#4a52bf',
    950: '#000000',
  },
}
SCSS
$custom: #4a52bf;
$custom-light: #8882d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52bf",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 235.897,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49474,
    "c": 0.1685,
    "h": 275.2
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#4A52BF
secondary
#CCC999
accent
#CE50D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4A52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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