#4852DB#4852DB

#4852DB is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.6% C 0.206 H 273.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4852DB
RGBrgb(72, 82, 219)
HSLhsl(236, 67%, 57%)
HSVhsv(236, 67%, 86%)
CMYKcmyk(67.1%, 62.6%, 0%, 14.1%)
CIE-LABlab(42.04, 39.45, -71.26)
CIE-LCHlch(42.04, 81.45, 298.97°)
OKLaboklab(51.62% 0.0125 -0.2056)
OKLCHoklch(51.62% 0.206 273.5)
XYZxyz(18.4717, 12.5251, 68.4482)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852DB #DBD148
analogous
#489CDB #4852DB #8748DB
triadic
#4852DB #DB4852 #52DB48
tetradic
#4852DB #DB489C #DBD148 #48DB87
square
#4852DB #DB489C #DBD148 #48DB87
split-complementary
#4852DB #DB8748 #9CDB48
monochromatic
#1C238D #2630C0 #4852DB #7B82E5 #AEB3EF

Accessibility & contrast

On white

5.99
#4852DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4852DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852DB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852DB#FFFFFF#000000##FFFFFF
##4852DB1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4852db;
/* rgb */ color: rgb(72, 82, 219);
/* oklch */ color: oklch(51.6% 0.206 273.5);
Tailwind
colors: {
  custom: {
    50: '#8c83e7',
    500: '#4852db',
    950: '#000000',
  },
}
SCSS
$custom: #4852db;
$custom-light: #8c83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4852db",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 235.918,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51624,
    "c": 0.20598,
    "h": 273.5
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#4852DB
secondary
#DDD9A2
accent
#DE3EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4852DB

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

Preview Lab → · Contrast checker → · Palette generator →

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