#4852B7#4852B7

#4852B7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.158 H 274.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4852B7
RGBrgb(72, 82, 183)
HSLhsl(235, 44%, 50%)
HSVhsv(235, 61%, 72%)
CMYKcmyk(60.7%, 55.2%, 0%, 28.2%)
CIE-LABlab(39.29, 27.19, -54.88)
CIE-LCHlch(39.29, 61.25, 296.36°)
OKLaboklab(48.73% 0.0128 -0.1575)
OKLCHoklch(48.73% 0.158 274.7)
XYZxyz(14.2342, 10.8301, 46.1309)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852B7 #B7AD48
analogous
#4889B7 #4852B7 #7648B7
triadic
#4852B7 #B74852 #52B748
tetradic
#4852B7 #B74889 #B7AD48 #48B776
square
#4852B7 #B74889 #B7AD48 #48B776
split-complementary
#4852B7 #B77648 #89B748
monochromatic
#252B5F #373E8B #4852B7 #747CC8 #A0A5DA

Accessibility & contrast

On white

6.63
#4852B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4852B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852B7
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852B7#FFFFFF#000000##FFFFFF
##4852B71.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0661BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4852b7;
/* rgb */ color: rgb(72, 82, 183);
/* oklch */ color: oklch(48.7% 0.158 274.7);
Tailwind
colors: {
  custom: {
    50: '#8682cd',
    500: '#4852b7',
    950: '#000000',
  },
}
SCSS
$custom: #4852b7;
$custom-light: #8682cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4852b7",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 234.595,
    "s": 43.529,
    "l": 50
  },
  "oklch": {
    "l": 0.4873,
    "c": 0.15798,
    "h": 274.7
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#4852B7
secondary
#C6C295
accent
#C855D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4852B7

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

Preview Lab → · Contrast checker → · Palette generator →

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