#4852CF#4852CF

#4852CF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.190 H 273.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4852CF
RGBrgb(72, 82, 207)
HSLhsl(236, 58%, 55%)
HSVhsv(236, 65%, 81%)
CMYKcmyk(65.2%, 60.4%, 0%, 18.8%)
CIE-LABlab(41.08, 35.39, -65.94)
CIE-LCHlch(41.08, 74.83, 298.22°)
OKLaboklab(50.62% 0.013 -0.19)
OKLCHoklch(50.62% 0.19 273.9)
XYZxyz(16.9485, 11.9158, 60.4262)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852CF #CFC548
analogous
#4895CF #4852CF #8248CF
triadic
#4852CF #CF4852 #52CF48
tetradic
#4852CF #CF4895 #CFC548 #48CF82
square
#4852CF #CF4895 #CFC548 #48CF82
split-complementary
#4852CF #CF8248 #95CF48
monochromatic
#21277C #2D37AD #4852CF #7880DC #A9AEE8

Accessibility & contrast

On white

6.21
#4852CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4852CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852CF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852CF#FFFFFF#000000##FFFFFF
##4852CF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4852cf;
/* rgb */ color: rgb(72, 82, 207);
/* oklch */ color: oklch(50.6% 0.190 273.9);
Tailwind
colors: {
  custom: {
    50: '#8a82df',
    500: '#4852cf',
    950: '#000000',
  },
}
SCSS
$custom: #4852cf;
$custom-light: #8a82df;
$custom-dark: #000000;
JSON
{
  "hex": "#4852cf",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 235.556,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50623,
    "c": 0.19041,
    "h": 273.9
  },
  "luminance": 0.11917
}

Semantic roles & 50–950 ramp

primary
#4852CF
secondary
#D6D29D
accent
#D646E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4852CF

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

Preview Lab → · Contrast checker → · Palette generator →

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