#4B52CB#4B52CB

#4B52CB is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.184 H 275.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4B52CB
RGBrgb(75, 82, 203)
HSLhsl(237, 55%, 55%)
HSVhsv(237, 63%, 80%)
CMYKcmyk(63.1%, 59.6%, 0%, 20.4%)
CIE-LABlab(40.96, 34.49, -63.82)
CIE-LCHlch(40.96, 72.54, 298.39°)
OKLaboklab(50.49% 0.0164 -0.1837)
OKLCHoklch(50.49% 0.184 275.1)
XYZxyz(16.6949, 11.8409, 57.8941)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52CB #CBC44B
analogous
#4B92CB #4B52CB #844BCB
triadic
#4B52CB #CB4B52 #52CB4B
tetradic
#4B52CB #CB4B92 #CBC44B #4BCB84
square
#4B52CB #CB4B92 #CBC44B #4BCB84
split-complementary
#4B52CB #CB844B #92CB4B
monochromatic
#232879 #3137A8 #4B52CB #7A80D9 #AAADE6

Accessibility & contrast

On white

6.23
#4B52CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4B52CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52CB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52CB#FFFFFF#000000##FFFFFF
##4B52CB1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4b52cb;
/* rgb */ color: rgb(75, 82, 203);
/* oklch */ color: oklch(50.5% 0.184 275.1);
Tailwind
colors: {
  custom: {
    50: '#8b82dc',
    500: '#4b52cb',
    950: '#000000',
  },
}
SCSS
$custom: #4b52cb;
$custom-light: #8b82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52cb",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 236.719,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50487,
    "c": 0.18439,
    "h": 275.1
  },
  "luminance": 0.11842
}

Semantic roles & 50–950 ramp

primary
#4B52CB
secondary
#D4D19E
accent
#D649DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4B52CB

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

Preview Lab → · Contrast checker → · Palette generator →

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