#4752DD#4752DD

#4752DD is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.7% C 0.209 H 273.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4752DD
RGBrgb(71, 82, 221)
HSLhsl(236, 69%, 57%)
HSVhsv(236, 68%, 87%)
CMYKcmyk(67.9%, 62.9%, 0%, 13.3%)
CIE-LABlab(42.14, 39.99, -72.23)
CIE-LCHlch(42.14, 82.57, 298.97°)
OKLaboklab(51.74% 0.0113 -0.2085)
OKLCHoklch(51.74% 0.209 273.1)
XYZxyz(18.6626, 12.5929, 69.8397)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752DD #DDD247
analogous
#479DDD #4752DD #8747DD
triadic
#4752DD #DD4752 #52DD47
tetradic
#4752DD #DD479D #DDD247 #47DD87
square
#4752DD #DD479D #DDD247 #47DD87
split-complementary
#4752DD #DD8747 #9DDD47
monochromatic
#1A238F #2430C3 #4752DD #7B83E7 #AEB3F0

Accessibility & contrast

On white

5.97
#4752DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4752DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752DD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752DD#FFFFFF#000000##FFFFFF
##4752DD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#005DDA
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4752dd;
/* rgb */ color: rgb(71, 82, 221);
/* oklch */ color: oklch(51.7% 0.209 273.1);
Tailwind
colors: {
  custom: {
    50: '#8c83e9',
    500: '#4752dd',
    950: '#000000',
  },
}
SCSS
$custom: #4752dd;
$custom-light: #8c83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4752dd",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 235.6,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51736,
    "c": 0.20879,
    "h": 273.1
  },
  "luminance": 0.12595
}

Semantic roles & 50–950 ramp

primary
#4752DD
secondary
#DEDAA2
accent
#DF3CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4752DD

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

Preview Lab → · Contrast checker → · Palette generator →

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