#4B52CF#4B52CF

#4B52CF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.190 H 274.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4B52CF
RGBrgb(75, 82, 207)
HSLhsl(237, 58%, 55%)
HSVhsv(237, 64%, 81%)
CMYKcmyk(63.8%, 60.4%, 0%, 18.8%)
CIE-LABlab(41.27, 35.84, -65.62)
CIE-LCHlch(41.27, 74.77, 298.64°)
OKLaboklab(50.81% 0.0163 -0.189)
OKLCHoklch(50.81% 0.19 274.9)
XYZxyz(17.1777, 12.0340, 60.4369)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52CF #CFC84B
analogous
#4B94CF #4B52CF #864BCF
triadic
#4B52CF #CF4B52 #52CF4B
tetradic
#4B52CF #CF4B94 #CFC84B #4BCF86
square
#4B52CF #CF4B94 #CFC84B #4BCF86
split-complementary
#4B52CF #CF864B #94CF4B
monochromatic
#22267E #2E35AE #4B52CF #7B80DC #ACAFE9

Accessibility & contrast

On white

6.16
#4B52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4B52CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52CF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52CF#FFFFFF#000000##FFFFFF
##4B52CF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005CCD
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4b52cf;
/* rgb */ color: rgb(75, 82, 207);
/* oklch */ color: oklch(50.8% 0.190 274.9);
Tailwind
colors: {
  custom: {
    50: '#8b82df',
    500: '#4b52cf',
    950: '#000000',
  },
}
SCSS
$custom: #4b52cf;
$custom-light: #8b82df;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52cf",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 236.818,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50811,
    "c": 0.18967,
    "h": 274.9
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

primary
#4B52CF
secondary
#D6D49F
accent
#D947E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4B52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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