#4845C4#4845C4

#4845C4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.5% C 0.192 H 277.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4845C4
RGBrgb(72, 69, 196)
HSLhsl(241, 52%, 52%)
HSVhsv(241, 65%, 77%)
CMYKcmyk(63.3%, 64.8%, 0%, 23.1%)
CIE-LABlab(37.15, 39.67, -65.98)
CIE-LCHlch(37.15, 76.99, 301.02°)
OKLaboklab(47.46% 0.0242 -0.1902)
OKLCHoklch(47.46% 0.192 277.2)
XYZxyz(14.7612, 9.6183, 53.2925)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845C4 #C1C445
analogous
#4582C4 #4845C4 #8745C4
triadic
#4845C4 #C44845 #45C448
tetradic
#4845C4 #C44582 #C1C445 #45C487
square
#4845C4 #C44582 #C1C445 #45C487
split-complementary
#4845C4 #C48745 #82C445
monochromatic
#24226C #34319B #4845C4 #7673D3 #A3A2E1

Accessibility & contrast

On white

7.18
#4845C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4845C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4845C4
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845C4#FFFFFF#000000##FFFFFF
##4845C41.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0052C2
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4845c4;
/* rgb */ color: rgb(72, 69, 196);
/* oklch */ color: oklch(47.5% 0.192 277.2);
Tailwind
colors: {
  custom: {
    50: '#8979d7',
    500: '#4845c4',
    950: '#000000',
  },
}
SCSS
$custom: #4845c4;
$custom-light: #8979d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4845c4",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 241.417,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47462,
    "c": 0.19171,
    "h": 277.2
  },
  "luminance": 0.09619
}

Semantic roles & 50–950 ramp

primary
#4845C4
secondary
#CDCE97
accent
#DB4DD8
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4845C4

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

Preview Lab → · Contrast checker → · Palette generator →

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