#4A52BB#4A52BB

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

Color values

HEX#4A52BB
RGBrgb(74, 82, 187)
HSLhsl(236, 45%, 51%)
HSVhsv(236, 60%, 73%)
CMYKcmyk(60.4%, 56.1%, 0%, 26.7%)
CIE-LABlab(39.71, 28.91, -56.54)
CIE-LCHlch(39.71, 63.51, 297.08°)
OKLaboklab(49.17% 0.0152 -0.1623)
OKLCHoklch(49.17% 0.163 275.4)
XYZxyz(14.8081, 11.0771, 48.3618)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52BB #BBB34A
analogous
#4A8ABB #4A52BB #7A4ABB
triadic
#4A52BB #BB4A52 #52BB4A
tetradic
#4A52BB #BB4A8A #BBB34A #4ABB7A
square
#4A52BB #BB4A8A #BBB34A #4ABB7A
split-complementary
#4A52BB #BB7A4A #8ABB4A
monochromatic
#262A65 #373D91 #4A52BB #767DCC #A3A7DC

Accessibility & contrast

On white

6.53
#4A52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A52BB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52BB#FFFFFF#000000##FFFFFF
##4A52BB1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a52bb;
/* rgb */ color: rgb(74, 82, 187);
/* oklch */ color: oklch(49.2% 0.163 275.4);
Tailwind
colors: {
  custom: {
    50: '#8782d0',
    500: '#4a52bb',
    950: '#000000',
  },
}
SCSS
$custom: #4a52bb;
$custom-light: #8782d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52bb",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 235.752,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49166,
    "c": 0.16301,
    "h": 275.4
  },
  "luminance": 0.11078
}

Semantic roles & 50–950 ramp

primary
#4A52BB
secondary
#C9C697
accent
#CC53D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4A52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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