#4852CA#4852CA

#4852CA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.184 H 274.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4852CA
RGBrgb(72, 82, 202)
HSLhsl(235, 55%, 54%)
HSVhsv(235, 64%, 79%)
CMYKcmyk(64.4%, 59.4%, 0%, 20.8%)
CIE-LABlab(40.70, 33.68, -63.68)
CIE-LCHlch(40.70, 72.04, 297.88°)
OKLaboklab(50.22% 0.0131 -0.1833)
OKLCHoklch(50.22% 0.184 274.1)
XYZxyz(16.3469, 11.6752, 57.2577)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852CA #CAC048
analogous
#4893CA #4852CA #7F48CA
triadic
#4852CA #CA4852 #52CA48
tetradic
#4852CA #CA4893 #CAC048 #48CA7F
square
#4852CA #CA4893 #CAC048 #48CA7F
split-complementary
#4852CA #CA7F48 #93CA48
monochromatic
#222876 #3039A5 #4852CA #777FD8 #A7ACE5

Accessibility & contrast

On white

6.30
#4852CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4852CA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852CA#FFFFFF#000000##FFFFFF
##4852CA1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4852ca;
/* rgb */ color: rgb(72, 82, 202);
/* oklch */ color: oklch(50.2% 0.184 274.1);
Tailwind
colors: {
  custom: {
    50: '#8982db',
    500: '#4852ca',
    950: '#000000',
  },
}
SCSS
$custom: #4852ca;
$custom-light: #8982db;
$custom-dark: #000000;
JSON
{
  "hex": "#4852ca",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 235.385,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50216,
    "c": 0.18381,
    "h": 274.1
  },
  "luminance": 0.11677
}

Semantic roles & 50–950 ramp

primary
#4852CA
secondary
#D3CE9B
accent
#D349DE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4852CA

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

Preview Lab → · Contrast checker → · Palette generator →

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