#4845D2#4845D2

#4845D2 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.7% C 0.209 H 276.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4845D2
RGBrgb(72, 69, 210)
HSLhsl(241, 61%, 55%)
HSVhsv(241, 67%, 82%)
CMYKcmyk(65.7%, 67.1%, 0%, 17.6%)
CIE-LABlab(38.35, 44.26, -72.13)
CIE-LCHlch(38.35, 84.63, 301.53°)
OKLaboklab(48.7% 0.0227 -0.2082)
OKLCHoklch(48.7% 0.209 276.2)
XYZxyz(16.4297, 10.2857, 62.0798)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845D2 #CFD245
analogous
#4588D2 #4845D2 #8F45D2
triadic
#4845D2 #D24845 #45D248
tetradic
#4845D2 #D24588 #CFD245 #45D28F
square
#4845D2 #D24588 #CFD245 #45D28F
split-complementary
#4845D2 #D28F45 #88D245
monochromatic
#211F7E #2D2AAF #4845D2 #7876DE #A9A8EA

Accessibility & contrast

On white

6.87
#4845D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4845D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4845D2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845D2#FFFFFF#000000##FFFFFF
##4845D21.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0054CF
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4845d2;
/* rgb */ color: rgb(72, 69, 210);
/* oklch */ color: oklch(48.7% 0.209 276.2);
Tailwind
colors: {
  custom: {
    50: '#8c7ae1',
    500: '#4845d2',
    950: '#000000',
  },
}
SCSS
$custom: #4845d2;
$custom-light: #8c7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#4845d2",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 241.277,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48703,
    "c": 0.20944,
    "h": 276.2
  },
  "luminance": 0.10287
}

Semantic roles & 50–950 ramp

primary
#4845D2
secondary
#D6D79C
accent
#E444E1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4845D2

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

Preview Lab → · Contrast checker → · Palette generator →

#4845D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva