#4852B2#4852B2

#4852B2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.151 H 274.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4852B2
RGBrgb(72, 82, 178)
HSLhsl(234, 42%, 49%)
HSVhsv(234, 60%, 70%)
CMYKcmyk(59.6%, 53.9%, 0%, 30.2%)
CIE-LABlab(38.94, 25.48, -52.50)
CIE-LCHlch(38.94, 58.36, 295.89°)
OKLaboklab(48.36% 0.0126 -0.1505)
OKLCHoklch(48.36% 0.151 274.8)
XYZxyz(13.7230, 10.6256, 43.4386)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852B2 #B2A848
analogous
#4887B2 #4852B2 #7348B2
triadic
#4852B2 #B24852 #52B248
tetradic
#4852B2 #B24887 #B2A848 #48B273
square
#4852B2 #B24887 #B2A848 #48B273
split-complementary
#4852B2 #B27348 #87B248
monochromatic
#252A5B #363E86 #4852B2 #7179C6 #9DA3D7

Accessibility & contrast

On white

6.72
#4852B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4852B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852B2
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852B2#FFFFFF#000000##FFFFFF
##4852B21.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1560B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4852b2;
/* rgb */ color: rgb(72, 82, 178);
/* oklch */ color: oklch(48.4% 0.151 274.8);
Tailwind
colors: {
  custom: {
    50: '#8582ca',
    500: '#4852b2',
    950: '#000000',
  },
}
SCSS
$custom: #4852b2;
$custom-light: #8582ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4852b2",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 234.34,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.151,
    "h": 274.8
  },
  "luminance": 0.10627
}

Semantic roles & 50–950 ramp

primary
#4852B2
secondary
#C4BF92
accent
#C656D2
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4852B2

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

Preview Lab → · Contrast checker → · Palette generator →

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