#4C52BD#4C52BD

#4C52BD is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.5% C 0.165 H 276.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4C52BD
RGBrgb(76, 82, 189)
HSLhsl(237, 46%, 52%)
HSVhsv(237, 60%, 74%)
CMYKcmyk(59.8%, 56.6%, 0%, 25.9%)
CIE-LABlab(39.99, 29.95, -57.26)
CIE-LCHlch(39.99, 64.62, 297.61°)
OKLaboklab(49.45% 0.0176 -0.1643)
OKLCHoklch(49.45% 0.165 276.1)
XYZxyz(15.1801, 11.2441, 49.5046)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52BD #BDB74C
analogous
#4C8BBD #4C52BD #7F4CBD
triadic
#4C52BD #BD4C52 #52BD4C
tetradic
#4C52BD #BD4C8B #BDB74C #4CBD7F
square
#4C52BD #BD4C8B #BDB74C #4CBD7F
split-complementary
#4C52BD #BD7F4C #8BBD4C
monochromatic
#262A68 #373C95 #4C52BD #797DCD #A5A8DE

Accessibility & contrast

On white

6.46
#4C52BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4C52BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52BD
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52BD#FFFFFF#000000##FFFFFF
##4C52BD1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c52bd;
/* rgb */ color: rgb(76, 82, 189);
/* oklch */ color: oklch(49.5% 0.165 276.1);
Tailwind
colors: {
  custom: {
    50: '#8982d2',
    500: '#4c52bd',
    950: '#000000',
  },
}
SCSS
$custom: #4c52bd;
$custom-light: #8982d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52bd",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 236.814,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49454,
    "c": 0.16529,
    "h": 276.1
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#4C52BD
secondary
#CBC99A
accent
#CF52D6
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4C52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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