#4B52BF#4B52BF

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

Color values

HEX#4B52BF
RGBrgb(75, 82, 191)
HSLhsl(236, 48%, 52%)
HSVhsv(236, 61%, 75%)
CMYKcmyk(60.7%, 57.1%, 0%, 25.1%)
CIE-LABlab(40.07, 30.45, -58.30)
CIE-LCHlch(40.07, 65.77, 297.57°)
OKLaboklab(49.54% 0.0165 -0.1674)
OKLCHoklch(49.54% 0.168 275.6)
XYZxyz(15.3199, 11.2908, 50.6522)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52BF #BFB84B
analogous
#4B8CBF #4B52BF #7E4BBF
triadic
#4B52BF #BF4B52 #52BF4B
tetradic
#4B52BF #BF4B8C #BFB84B #4BBF7E
square
#4B52BF #BF4B8C #BFB84B #4BBF7E
split-complementary
#4B52BF #BF7E4B #8CBF4B
monochromatic
#262A6A #363C97 #4B52BF #787DCF #A5A9DF

Accessibility & contrast

On white

6.44
#4B52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4B52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52BF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52BF#FFFFFF#000000##FFFFFF
##4B52BF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b52bf;
/* rgb */ color: rgb(75, 82, 191);
/* oklch */ color: oklch(49.5% 0.168 275.6);
Tailwind
colors: {
  custom: {
    50: '#8982d3',
    500: '#4b52bf',
    950: '#000000',
  },
}
SCSS
$custom: #4b52bf;
$custom-light: #8982d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52bf",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 236.379,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4954,
    "c": 0.16826,
    "h": 275.6
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#4B52BF
secondary
#CCC99A
accent
#CF51D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4B52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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