#4B52BB#4B52BB

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

Color values

HEX#4B52BB
RGBrgb(75, 82, 187)
HSLhsl(236, 45%, 51%)
HSVhsv(236, 60%, 73%)
CMYKcmyk(59.9%, 56.1%, 0%, 26.7%)
CIE-LABlab(39.78, 29.09, -56.43)
CIE-LCHlch(39.78, 63.49, 297.27°)
OKLaboklab(49.23% 0.0164 -0.1619)
OKLCHoklch(49.23% 0.163 275.8)
XYZxyz(14.8857, 11.1172, 48.3655)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52BB #BBB44B
analogous
#4B8ABB #4B52BB #7C4BBB
triadic
#4B52BB #BB4B52 #52BB4B
tetradic
#4B52BB #BB4B8A #BBB44B #4BBB7C
square
#4B52BB #BB4B8A #BBB44B #4BBB7C
split-complementary
#4B52BB #BB7C4B #8ABB4B
monochromatic
#262A65 #373D92 #4B52BB #777DCC #A4A7DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B52BB#FFFFFF#000000##FFFFFF
##4B52BB1.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)
#0063BF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4b52bb;
/* rgb */ color: rgb(75, 82, 187);
/* oklch */ color: oklch(49.2% 0.163 275.8);
Tailwind
colors: {
  custom: {
    50: '#8882d0',
    500: '#4b52bb',
    950: '#000000',
  },
}
SCSS
$custom: #4b52bb;
$custom-light: #8882d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52bb",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 236.25,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49234,
    "c": 0.16278,
    "h": 275.8
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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