#4852CB#4852CB

#4852CB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.185 H 274.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4852CB
RGBrgb(72, 82, 203)
HSLhsl(235, 56%, 54%)
HSVhsv(235, 65%, 80%)
CMYKcmyk(64.5%, 59.6%, 0%, 20.4%)
CIE-LABlab(40.77, 34.02, -64.13)
CIE-LCHlch(40.77, 72.60, 297.95°)
OKLaboklab(50.3% 0.0131 -0.1847)
OKLCHoklch(50.3% 0.185 274)
XYZxyz(16.4657, 11.7227, 57.8833)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852CB #CBC148
analogous
#4894CB #4852CB #8048CB
triadic
#4852CB #CB4852 #52CB48
tetradic
#4852CB #CB4894 #CBC148 #48CB80
square
#4852CB #CB4894 #CBC148 #48CB80
split-complementary
#4852CB #CB8048 #94CB48
monochromatic
#222877 #2F38A6 #4852CB #787FD9 #A7ACE6

Accessibility & contrast

On white

6.28
#4852CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4852CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852CB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852CB#FFFFFF#000000##FFFFFF
##4852CB1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4852cb;
/* rgb */ color: rgb(72, 82, 203);
/* oklch */ color: oklch(50.3% 0.185 274.0);
Tailwind
colors: {
  custom: {
    50: '#8982dc',
    500: '#4852cb',
    950: '#000000',
  },
}
SCSS
$custom: #4852cb;
$custom-light: #8982dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4852cb",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 235.42,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50296,
    "c": 0.18513,
    "h": 274
  },
  "luminance": 0.11724
}

Semantic roles & 50–950 ramp

primary
#4852CB
secondary
#D3CF9B
accent
#D449DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4852CB

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

Preview Lab → · Contrast checker → · Palette generator →

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