#4B52D3#4B52D3

#4B52D3 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.195 H 274.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4B52D3
RGBrgb(75, 82, 211)
HSLhsl(237, 61%, 56%)
HSVhsv(237, 64%, 83%)
CMYKcmyk(64.5%, 61.1%, 0%, 17.3%)
CIE-LABlab(41.58, 37.18, -67.42)
CIE-LCHlch(41.58, 76.99, 298.88°)
OKLaboklab(51.14% 0.0162 -0.1942)
OKLCHoklch(51.14% 0.195 274.8)
XYZxyz(17.6729, 12.2321, 63.0451)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52D3 #D3CC4B
analogous
#4B96D3 #4B52D3 #884BD3
triadic
#4B52D3 #D34B52 #52D34B
tetradic
#4B52D3 #D34B96 #D3CC4B #4BD388
square
#4B52D3 #D34B96 #D3CC4B #4BD388
split-complementary
#4B52D3 #D3884B #96D34B
monochromatic
#202583 #2C33B5 #4B52D3 #7C81DF #ADB1EB

Accessibility & contrast

On white

6.09
#4B52D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4B52D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52D3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52D3#FFFFFF#000000##FFFFFF
##4B52D31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4b52d3;
/* rgb */ color: rgb(75, 82, 211);
/* oklch */ color: oklch(51.1% 0.195 274.8);
Tailwind
colors: {
  custom: {
    50: '#8c82e1',
    500: '#4b52d3',
    950: '#000000',
  },
}
SCSS
$custom: #4b52d3;
$custom-light: #8c82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52d3",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 236.912,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51139,
    "c": 0.19491,
    "h": 274.8
  },
  "luminance": 0.12234
}

Semantic roles & 50–950 ramp

primary
#4B52D3
secondary
#D9D6A1
accent
#DC44E4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4B52D3

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

Preview Lab → · Contrast checker → · Palette generator →

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