#4752AF#4752AF

#4752AF is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.147 H 274.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4752AF
RGBrgb(71, 82, 175)
HSLhsl(234, 42%, 48%)
HSVhsv(234, 59%, 69%)
CMYKcmyk(59.4%, 53.1%, 0%, 31.4%)
CIE-LABlab(38.67, 24.27, -51.17)
CIE-LCHlch(38.67, 56.64, 295.37°)
OKLaboklab(48.07% 0.0113 -0.1466)
OKLCHoklch(48.07% 0.147 274.4)
XYZxyz(13.3512, 10.4683, 41.8662)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752AF #AFA447
analogous
#4786AF #4752AF #7047AF
triadic
#4752AF #AF4752 #52AF47
tetradic
#4752AF #AF4786 #AFA447 #47AF70
square
#4752AF #AF4786 #AFA447 #47AF70
split-complementary
#4752AF #AF7047 #86AF47
monochromatic
#242958 #353E83 #4752AF #6F78C4 #9AA1D6

Accessibility & contrast

On white

6.79
#4752AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4752AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752AF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752AF#FFFFFF#000000##FFFFFF
##4752AF1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A60B2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4752af;
/* rgb */ color: rgb(71, 82, 175);
/* oklch */ color: oklch(48.1% 0.147 274.4);
Tailwind
colors: {
  custom: {
    50: '#8482c7',
    500: '#4752af',
    950: '#000000',
  },
}
SCSS
$custom: #4752af;
$custom-light: #8482c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4752af",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 233.654,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48069,
    "c": 0.14701,
    "h": 274.4
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#4752AF
secondary
#C2BD8F
accent
#C556D2
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4752AF

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

Preview Lab → · Contrast checker → · Palette generator →

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