#4845D8#4845D8

#4845D8 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.2% C 0.217 H 275.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#4845D8
RGBrgb(72, 69, 216)
HSLhsl(241, 65%, 56%)
HSVhsv(241, 68%, 85%)
CMYKcmyk(66.7%, 68.1%, 0%, 15.3%)
CIE-LABlab(38.88, 46.21, -74.72)
CIE-LCHlch(38.88, 87.85, 301.73°)
OKLaboklab(49.25% 0.0219 -0.2158)
OKLCHoklch(49.25% 0.217 275.8)
XYZxyz(17.1912, 10.5903, 66.0906)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845D8 #D5D845
analogous
#458CD8 #4845D8 #9145D8
triadic
#4845D8 #D84845 #45D848
tetradic
#4845D8 #D8458C #D5D845 #45D891
square
#4845D8 #D8458C #D5D845 #45D891
split-complementary
#4845D8 #D89145 #8CD845
monochromatic
#1E1C86 #2A27B9 #4845D8 #7A78E3 #ACAAED

Accessibility & contrast

On white

6.73
#4845D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4845D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4845D8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845D8#FFFFFF#000000##FFFFFF
##4845D81.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DC
Deuteranopia (green-blind)
#0055D5
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4845d8;
/* rgb */ color: rgb(72, 69, 216);
/* oklch */ color: oklch(49.2% 0.217 275.8);
Tailwind
colors: {
  custom: {
    50: '#8d7ae5',
    500: '#4845d8',
    950: '#000000',
  },
}
SCSS
$custom: #4845d8;
$custom-light: #8d7ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4845d8",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 241.224,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.49249,
    "c": 0.21687,
    "h": 275.8
  },
  "luminance": 0.10592
}

Semantic roles & 50–950 ramp

primary
#4845D8
secondary
#DADB9E
accent
#E840E5
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4845D8

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

Preview Lab → · Contrast checker → · Palette generator →

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