#4B52DA#4B52DA

#4B52DA is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.7% C 0.204 H 274.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4B52DA
RGBrgb(75, 82, 218)
HSLhsl(237, 66%, 57%)
HSVhsv(237, 66%, 85%)
CMYKcmyk(65.6%, 62.4%, 0%, 14.5%)
CIE-LABlab(42.14, 39.53, -70.52)
CIE-LCHlch(42.14, 80.84, 299.27°)
OKLaboklab(51.72% 0.0159 -0.2033)
OKLCHoklch(51.72% 0.204 274.5)
XYZxyz(18.5696, 12.5908, 67.7677)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52DA #DAD34B
analogous
#4B99DA #4B52DA #8C4BDA
triadic
#4B52DA #DA4B52 #52DA4B
tetradic
#4B52DA #DA4B99 #DAD34B #4BDA8C
square
#4B52DA #DA4B99 #DAD34B #4BDA8C
split-complementary
#4B52DA #DA8C4B #99DA4B
monochromatic
#1D238E #282FC0 #4B52DA #7E83E4 #B1B4EF

Accessibility & contrast

On white

5.97
#4B52DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4B52DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52DA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52DA#FFFFFF#000000##FFFFFF
##4B52DA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#005DD7
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4b52da;
/* rgb */ color: rgb(75, 82, 218);
/* oklch */ color: oklch(51.7% 0.204 274.5);
Tailwind
colors: {
  custom: {
    50: '#8d83e6',
    500: '#4b52da',
    950: '#000000',
  },
}
SCSS
$custom: #4b52da;
$custom-light: #8d83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52da",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 237.063,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.20396,
    "h": 274.5
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#4B52DA
secondary
#DDDAA4
accent
#E13FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4B52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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