#4845D1#4845D1

#4845D1 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.6% C 0.208 H 276.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4845D1
RGBrgb(72, 69, 209)
HSLhsl(241, 60%, 55%)
HSVhsv(241, 67%, 82%)
CMYKcmyk(65.6%, 67%, 0%, 18%)
CIE-LABlab(38.26, 43.93, -71.70)
CIE-LCHlch(38.26, 84.09, 301.50°)
OKLaboklab(48.61% 0.0228 -0.2069)
OKLCHoklch(48.61% 0.208 276.3)
XYZxyz(16.3055, 10.2360, 61.4257)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845D1 #CED145
analogous
#4588D1 #4845D1 #8E45D1
triadic
#4845D1 #D14845 #45D148
tetradic
#4845D1 #D14588 #CED145 #45D18E
square
#4845D1 #D14588 #CED145 #45D18E
split-complementary
#4845D1 #D18E45 #88D145
monochromatic
#211F7D #2E2BAE #4845D1 #7876DD #A9A7E9

Accessibility & contrast

On white

6.89
#4845D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4845D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4845D1
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845D1#FFFFFF#000000##FFFFFF
##4845D11.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D5
Deuteranopia (green-blind)
#0054CE
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4845d1;
/* rgb */ color: rgb(72, 69, 209);
/* oklch */ color: oklch(48.6% 0.208 276.3);
Tailwind
colors: {
  custom: {
    50: '#8b79e0',
    500: '#4845d1',
    950: '#000000',
  },
}
SCSS
$custom: #4845d1;
$custom-light: #8b79e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4845d1",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 241.286,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48613,
    "c": 0.20819,
    "h": 276.3
  },
  "luminance": 0.10237
}

Semantic roles & 50–950 ramp

primary
#4845D1
secondary
#D5D79B
accent
#E344E0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4845D1

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

Preview Lab → · Contrast checker → · Palette generator →

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