#4C52BF#4C52BF

#4C52BF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.168 H 276.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4C52BF
RGBrgb(76, 82, 191)
HSLhsl(237, 47%, 52%)
HSVhsv(237, 60%, 75%)
CMYKcmyk(60.2%, 57.1%, 0%, 25.1%)
CIE-LABlab(40.13, 30.62, -58.19)
CIE-LCHlch(40.13, 65.76, 297.75°)
OKLaboklab(49.61% 0.0176 -0.1671)
OKLCHoklch(49.61% 0.168 276)
XYZxyz(15.3987, 11.3315, 50.6558)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52BF #BFB94C
analogous
#4C8BBF #4C52BF #804CBF
triadic
#4C52BF #BF4C52 #52BF4C
tetradic
#4C52BF #BF4C8B #BFB94C #4CBF80
square
#4C52BF #BF4C8B #BFB94C #4CBF80
split-complementary
#4C52BF #BF804C #8BBF4C
monochromatic
#262A6B #363B98 #4C52BF #797ECF #A6A9DF

Accessibility & contrast

On white

6.43
#4C52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4C52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52BF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52BF#FFFFFF#000000##FFFFFF
##4C52BF1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c52bf;
/* rgb */ color: rgb(76, 82, 191);
/* oklch */ color: oklch(49.6% 0.168 276.0);
Tailwind
colors: {
  custom: {
    50: '#8982d3',
    500: '#4c52bf',
    950: '#000000',
  },
}
SCSS
$custom: #4c52bf;
$custom-light: #8982d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52bf",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 236.87,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49608,
    "c": 0.16802,
    "h": 276
  },
  "luminance": 0.11333
}

Semantic roles & 50–950 ramp

primary
#4C52BF
secondary
#CCCA9A
accent
#D051D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4C52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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