#4845D9#4845D9

#4845D9 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.3% C 0.218 H 275.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4845D9
RGBrgb(72, 69, 217)
HSLhsl(241, 66%, 56%)
HSVhsv(241, 68%, 85%)
CMYKcmyk(66.8%, 68.2%, 0%, 14.9%)
CIE-LABlab(38.97, 46.53, -75.14)
CIE-LCHlch(38.97, 88.38, 301.77°)
OKLaboklab(49.34% 0.0218 -0.217)
OKLCHoklch(49.34% 0.218 275.7)
XYZxyz(17.3209, 10.6422, 66.7735)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845D9 #D6D945
analogous
#458CD9 #4845D9 #9245D9
triadic
#4845D9 #D94845 #45D948
tetradic
#4845D9 #D9458C #D6D945 #45D992
square
#4845D9 #D9458C #D6D945 #45D992
split-complementary
#4845D9 #D99245 #8CD945
monochromatic
#1E1C88 #2926BB #4845D9 #7A78E3 #ACABEE

Accessibility & contrast

On white

6.71
#4845D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4845D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4845D9
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845D9#FFFFFF#000000##FFFFFF
##4845D91.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DE
Deuteranopia (green-blind)
#0055D6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4845d9;
/* rgb */ color: rgb(72, 69, 217);
/* oklch */ color: oklch(49.3% 0.218 275.7);
Tailwind
colors: {
  custom: {
    50: '#8d7ae6',
    500: '#4845d9',
    950: '#000000',
  },
}
SCSS
$custom: #4845d9;
$custom-light: #8d7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#4845d9",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 241.216,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.2181,
    "h": 275.7
  },
  "luminance": 0.10644
}

Semantic roles & 50–950 ramp

primary
#4845D9
secondary
#DADB9E
accent
#E93FE6
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4845D9

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

Preview Lab → · Contrast checker → · Palette generator →

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