#4B52C7#4B52C7

#4B52C7 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.179 H 275.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4B52C7
RGBrgb(75, 82, 199)
HSLhsl(237, 53%, 54%)
HSVhsv(237, 62%, 78%)
CMYKcmyk(62.3%, 58.8%, 0%, 22%)
CIE-LABlab(40.66, 33.14, -61.99)
CIE-LCHlch(40.66, 70.30, 298.13°)
OKLaboklab(50.17% 0.0165 -0.1783)
OKLCHoklch(50.17% 0.179 275.3)
XYZxyz(16.2244, 11.6526, 55.4160)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52C7 #C7C04B
analogous
#4B90C7 #4B52C7 #824BC7
triadic
#4B52C7 #C74B52 #52C74B
tetradic
#4B52C7 #C74B90 #C7C04B #4BC782
square
#4B52C7 #C74B90 #C7C04B #4BC782
split-complementary
#4B52C7 #C7824B #90C74B
monochromatic
#242874 #3239A2 #4B52C7 #7A7FD6 #A8ACE4

Accessibility & contrast

On white

6.30
#4B52C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4B52C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52C7
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52C7#FFFFFF#000000##FFFFFF
##4B52C71.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4b52c7;
/* rgb */ color: rgb(75, 82, 199);
/* oklch */ color: oklch(50.2% 0.179 275.3);
Tailwind
colors: {
  custom: {
    50: '#8a82d9',
    500: '#4b52c7',
    950: '#000000',
  },
}
SCSS
$custom: #4b52c7;
$custom-light: #8a82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52c7",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 236.613,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50167,
    "c": 0.17907,
    "h": 275.3
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#4B52C7
secondary
#D1CE9C
accent
#D44CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4B52C7

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

Preview Lab → · Contrast checker → · Palette generator →

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