#4752C9#4752C9

#4752C9 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.183 H 273.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4752C9
RGBrgb(71, 82, 201)
HSLhsl(235, 55%, 53%)
HSVhsv(235, 65%, 79%)
CMYKcmyk(64.7%, 59.2%, 0%, 21.2%)
CIE-LABlab(40.56, 33.19, -63.33)
CIE-LCHlch(40.56, 71.50, 297.66°)
OKLaboklab(50.07% 0.012 -0.1823)
OKLCHoklch(50.07% 0.183 273.8)
XYZxyz(16.1549, 11.5898, 56.6327)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752C9 #C9BE47
analogous
#4793C9 #4752C9 #7D47C9
triadic
#4752C9 #C94752 #52C947
tetradic
#4752C9 #C94793 #C9BE47 #47C97D
square
#4752C9 #C94793 #C9BE47 #47C97D
split-complementary
#4752C9 #C97D47 #93C947
monochromatic
#222974 #303AA3 #4752C9 #767ED7 #A6ABE5

Accessibility & contrast

On white

6.33
#4752C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4752C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752C9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752C9#FFFFFF#000000##FFFFFF
##4752C91.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CD
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4752c9;
/* rgb */ color: rgb(71, 82, 201);
/* oklch */ color: oklch(50.1% 0.183 273.8);
Tailwind
colors: {
  custom: {
    50: '#8882da',
    500: '#4752c9',
    950: '#000000',
  },
}
SCSS
$custom: #4752c9;
$custom-light: #8882da;
$custom-dark: #000000;
JSON
{
  "hex": "#4752c9",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 201
  },
  "hsl": {
    "h": 234.923,
    "s": 54.622,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50073,
    "c": 0.18273,
    "h": 273.8
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#4752C9
secondary
#D2CD9A
accent
#D14ADE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4752C9

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

Preview Lab → · Contrast checker → · Palette generator →

#4752C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva