#4B52CE#4B52CE

#4B52CE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.188 H 275.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4B52CE
RGBrgb(75, 82, 206)
HSLhsl(237, 57%, 55%)
HSVhsv(237, 64%, 81%)
CMYKcmyk(63.6%, 60.2%, 0%, 19.2%)
CIE-LABlab(41.19, 35.50, -65.17)
CIE-LCHlch(41.19, 74.22, 298.58°)
OKLaboklab(50.73% 0.0164 -0.1876)
OKLCHoklch(50.73% 0.188 275)
XYZxyz(17.0559, 11.9852, 59.7951)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52CE #CEC74B
analogous
#4B93CE #4B52CE #864BCE
triadic
#4B52CE #CE4B52 #52CE4B
tetradic
#4B52CE #CE4B93 #CEC74B #4BCE86
square
#4B52CE #CE4B93 #CEC74B #4BCE86
split-complementary
#4B52CE #CE864B #93CE4B
monochromatic
#22277D #2F36AD #4B52CE #7B80DB #ABAEE8

Accessibility & contrast

On white

6.18
#4B52CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4B52CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52CE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52CE#FFFFFF#000000##FFFFFF
##4B52CE1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4b52ce;
/* rgb */ color: rgb(75, 82, 206);
/* oklch */ color: oklch(50.7% 0.188 275.0);
Tailwind
colors: {
  custom: {
    50: '#8b82de',
    500: '#4b52ce',
    950: '#000000',
  },
}
SCSS
$custom: #4b52ce;
$custom-light: #8b82de;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52ce",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 236.794,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50729,
    "c": 0.18836,
    "h": 275
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

primary
#4B52CE
secondary
#D6D39F
accent
#D847E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4B52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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