#4852C8#4852C8

#4852C8 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.181 H 274.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4852C8
RGBrgb(72, 82, 200)
HSLhsl(235, 54%, 53%)
HSVhsv(235, 64%, 78%)
CMYKcmyk(64%, 59%, 0%, 21.6%)
CIE-LABlab(40.54, 33.00, -62.77)
CIE-LCHlch(40.54, 70.92, 297.73°)
OKLaboklab(50.05% 0.0131 -0.1807)
OKLCHoklch(50.05% 0.181 274.1)
XYZxyz(16.1117, 11.5811, 56.0187)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852C8 #C8BE48
analogous
#4892C8 #4852C8 #7E48C8
triadic
#4852C8 #C84852 #52C848
tetradic
#4852C8 #C84892 #C8BE48 #48C87E
square
#4852C8 #C84892 #C8BE48 #48C87E
split-complementary
#4852C8 #C87E48 #92C848
monochromatic
#232973 #313AA2 #4852C8 #777ED6 #A6ABE4

Accessibility & contrast

On white

6.33
#4852C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4852C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852C8
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852C8#FFFFFF#000000##FFFFFF
##4852C81.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4852c8;
/* rgb */ color: rgb(72, 82, 200);
/* oklch */ color: oklch(50.1% 0.181 274.1);
Tailwind
colors: {
  custom: {
    50: '#8982da',
    500: '#4852c8',
    950: '#000000',
  },
}
SCSS
$custom: #4852c8;
$custom-light: #8982da;
$custom-dark: #000000;
JSON
{
  "hex": "#4852c8",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 235.313,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50054,
    "c": 0.18114,
    "h": 274.1
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#4852C8
secondary
#D1CD9A
accent
#D24BDD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4852C8

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

Preview Lab → · Contrast checker → · Palette generator →

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