#4B52CC#4B52CC

#4B52CC is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.186 H 275.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4B52CC
RGBrgb(75, 82, 204)
HSLhsl(237, 56%, 55%)
HSVhsv(237, 63%, 80%)
CMYKcmyk(63.2%, 59.8%, 0%, 20%)
CIE-LABlab(41.04, 34.83, -64.27)
CIE-LCHlch(41.04, 73.10, 298.45°)
OKLaboklab(50.57% 0.0164 -0.185)
OKLCHoklch(50.57% 0.186 275.1)
XYZxyz(16.8144, 11.8887, 58.5237)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52CC #CCC54B
analogous
#4B93CC #4B52CC #844BCC
triadic
#4B52CC #CC4B52 #52CC4B
tetradic
#4B52CC #CC4B93 #CCC54B #4BCC84
square
#4B52CC #CC4B93 #CCC54B #4BCC84
split-complementary
#4B52CC #CC844B #93CC4B
monochromatic
#23277A #3037AA #4B52CC #7B80DA #AAAEE7

Accessibility & contrast

On white

6.22
#4B52CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4B52CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52CC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52CC#FFFFFF#000000##FFFFFF
##4B52CC1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4b52cc;
/* rgb */ color: rgb(75, 82, 204);
/* oklch */ color: oklch(50.6% 0.186 275.1);
Tailwind
colors: {
  custom: {
    50: '#8b82dc',
    500: '#4b52cc',
    950: '#000000',
  },
}
SCSS
$custom: #4b52cc;
$custom-light: #8b82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52cc",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 236.744,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50567,
    "c": 0.18573,
    "h": 275.1
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#4B52CC
secondary
#D5D29E
accent
#D749DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4B52CC

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

Preview Lab → · Contrast checker → · Palette generator →

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