#4C52BE#4C52BE

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

Color values

HEX#4C52BE
RGBrgb(76, 82, 190)
HSLhsl(237, 47%, 52%)
HSVhsv(237, 60%, 75%)
CMYKcmyk(60%, 56.8%, 0%, 25.5%)
CIE-LABlab(40.06, 30.28, -57.72)
CIE-LCHlch(40.06, 65.19, 297.68°)
OKLaboklab(49.53% 0.0176 -0.1657)
OKLCHoklch(49.53% 0.167 276.1)
XYZxyz(15.2890, 11.2876, 50.0783)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52BE #BEB84C
analogous
#4C8BBE #4C52BE #7F4CBE
triadic
#4C52BE #BE4C52 #52BE4C
tetradic
#4C52BE #BE4C8B #BEB84C #4CBE7F
square
#4C52BE #BE4C8B #BEB84C #4CBE7F
split-complementary
#4C52BE #BE7F4C #8BBE4C
monochromatic
#262A69 #373C96 #4C52BE #797DCE #A6A9DF

Accessibility & contrast

On white

6.45
#4C52BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4C52BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52BE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52BE#FFFFFF#000000##FFFFFF
##4C52BE1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c52be;
/* rgb */ color: rgb(76, 82, 190);
/* oklch */ color: oklch(49.5% 0.167 276.1);
Tailwind
colors: {
  custom: {
    50: '#8982d2',
    500: '#4c52be',
    950: '#000000',
  },
}
SCSS
$custom: #4c52be;
$custom-light: #8982d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52be",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 236.842,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49531,
    "c": 0.16665,
    "h": 276.1
  },
  "luminance": 0.11289
}

Semantic roles & 50–950 ramp

primary
#4C52BE
secondary
#CCC99A
accent
#CF51D6
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4C52BE

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

Preview Lab → · Contrast checker → · Palette generator →

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