#4852A7#4852A7

#4852A7 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.6% C 0.135 H 275.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#4852A7
RGBrgb(72, 82, 167)
HSLhsl(234, 40%, 47%)
HSVhsv(234, 57%, 65%)
CMYKcmyk(56.9%, 50.9%, 0%, 34.5%)
CIE-LABlab(38.20, 21.74, -47.18)
CIE-LCHlch(38.20, 51.95, 294.74°)
OKLaboklab(47.56% 0.0118 -0.1348)
OKLCHoklch(47.56% 0.135 275)
XYZxyz(12.6626, 10.2014, 37.8535)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852A7 #A79D48
analogous
#4882A7 #4852A7 #6E48A7
triadic
#4852A7 #A74852 #52A748
tetradic
#4852A7 #A74882 #A79D48 #48A76E
square
#4852A7 #A74882 #A79D48 #48A76E
split-complementary
#4852A7 #A76E48 #82A748
monochromatic
#232851 #363D7C #4852A7 #6C75C0 #979DD2

Accessibility & contrast

On white

6.91
#4852A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4852A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852A7
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852A7#FFFFFF#000000##FFFFFF
##4852A71.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265EAA
Deuteranopia (green-blind)
#1756A5
Tritanopia (blue-blind)
#116574
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4852a7;
/* rgb */ color: rgb(72, 82, 167);
/* oklch */ color: oklch(47.6% 0.135 275.0);
Tailwind
colors: {
  custom: {
    50: '#8382c2',
    500: '#4852a7',
    950: '#000000',
  },
}
SCSS
$custom: #4852a7;
$custom-light: #8382c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4852a7",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 233.684,
    "s": 39.749,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47562,
    "c": 0.13531,
    "h": 275
  },
  "luminance": 0.10202
}

Semantic roles & 50–950 ramp

primary
#4852A7
secondary
#BEB98C
accent
#C358D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4852A7

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

Preview Lab → · Contrast checker → · Palette generator →

#4852A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva