#4845C6#4845C6

#4845C6 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.6% C 0.194 H 277.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4845C6
RGBrgb(72, 69, 198)
HSLhsl(241, 53%, 52%)
HSVhsv(241, 65%, 78%)
CMYKcmyk(63.6%, 65.2%, 0%, 22.4%)
CIE-LABlab(37.32, 40.33, -66.87)
CIE-LCHlch(37.32, 78.09, 301.09°)
OKLaboklab(47.64% 0.024 -0.1928)
OKLCHoklch(47.64% 0.194 277.1)
XYZxyz(14.9903, 9.7100, 54.4994)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845C6 #C3C645
analogous
#4583C6 #4845C6 #8845C6
triadic
#4845C6 #C64845 #45C648
tetradic
#4845C6 #C64583 #C3C645 #45C688
square
#4845C6 #C64583 #C3C645 #45C688
split-complementary
#4845C6 #C68845 #83C645
monochromatic
#24226F #33309E #4845C6 #7674D4 #A4A3E3

Accessibility & contrast

On white

7.14
#4845C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4845C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4845C6
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845C6#FFFFFF#000000##FFFFFF
##4845C61.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0052C4
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4845c6;
/* rgb */ color: rgb(72, 69, 198);
/* oklch */ color: oklch(47.6% 0.194 277.1);
Tailwind
colors: {
  custom: {
    50: '#8979d8',
    500: '#4845c6',
    950: '#000000',
  },
}
SCSS
$custom: #4845c6;
$custom-light: #8979d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4845c6",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 241.395,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47636,
    "c": 0.19428,
    "h": 277.1
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#4845C6
secondary
#CECF97
accent
#DC4BD9
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4845C6

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

Preview Lab → · Contrast checker → · Palette generator →

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