#4752DF#4752DF

#4752DF is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.9% C 0.211 H 273.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4752DF
RGBrgb(71, 82, 223)
HSLhsl(236, 70%, 58%)
HSVhsv(236, 68%, 87%)
CMYKcmyk(68.2%, 63.2%, 0%, 12.5%)
CIE-LABlab(42.31, 40.67, -73.11)
CIE-LCHlch(42.31, 83.66, 299.09°)
OKLaboklab(51.91% 0.0112 -0.211)
OKLCHoklch(51.91% 0.211 273)
XYZxyz(18.9307, 12.7001, 71.2514)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752DF #DFD447
analogous
#479EDF #4752DF #8847DF
triadic
#4752DF #DF4752 #52DF47
tetradic
#4752DF #DF479E #DFD447 #47DF88
square
#4752DF #DF479E #DFD447 #47DF88
split-complementary
#4752DF #DF8847 #9EDF47
monochromatic
#192292 #222EC6 #4752DF #7B83E8 #AFB4F1

Accessibility & contrast

On white

5.93
#4752DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4752DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752DF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752DF#FFFFFF#000000##FFFFFF
##4752DF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE3
Deuteranopia (green-blind)
#005DDC
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4752df;
/* rgb */ color: rgb(71, 82, 223);
/* oklch */ color: oklch(51.9% 0.211 273.0);
Tailwind
colors: {
  custom: {
    50: '#8d83ea',
    500: '#4752df',
    950: '#000000',
  },
}
SCSS
$custom: #4752df;
$custom-light: #8d83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4752df",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 235.658,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51908,
    "c": 0.21133,
    "h": 273
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#4752DF
secondary
#DFDBA2
accent
#E03BED
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4752DF

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

Preview Lab → · Contrast checker → · Palette generator →

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