#4845AE#4845AE

#4845AE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.163 H 279.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4845AE
RGBrgb(72, 69, 174)
HSLhsl(242, 43%, 48%)
HSVhsv(242, 60%, 68%)
CMYKcmyk(58.6%, 60.3%, 0%, 31.8%)
CIE-LABlab(35.38, 32.39, -55.91)
CIE-LCHlch(35.38, 64.61, 300.09°)
OKLaboklab(45.61% 0.0256 -0.1606)
OKLCHoklch(45.61% 0.163 279)
XYZxyz(12.4382, 8.6891, 41.0579)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845AE #ABAE45
analogous
#4577AE #4845AE #7C45AE
triadic
#4845AE #AE4845 #45AE48
tetradic
#4845AE #AE4577 #ABAE45 #45AE7C
square
#4845AE #AE4577 #ABAE45 #45AE7C
split-complementary
#4845AE #AE7C45 #77AE45
monochromatic
#242256 #363482 #4845AE #6E6CC5 #9997D6

Accessibility & contrast

On white

7.67
#4845AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4845AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4845AE
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845AE#FFFFFF#000000##FFFFFF
##4845AE1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#045E73
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4845ae;
/* rgb */ color: rgb(72, 69, 174);
/* oklch */ color: oklch(45.6% 0.163 279.0);
Tailwind
colors: {
  custom: {
    50: '#8579c7',
    500: '#4845ae',
    950: '#000000',
  },
}
SCSS
$custom: #4845ae;
$custom-light: #8579c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4845ae",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 241.714,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45614,
    "c": 0.16261,
    "h": 279
  },
  "luminance": 0.0869
}

Semantic roles & 50–950 ramp

primary
#4845AE
secondary
#C0C28D
accent
#D355CF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4845AE

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

Preview Lab → · Contrast checker → · Palette generator →

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