#4845DF#4845DF

#4845DF is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.9% C 0.225 H 275.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4845DF
RGBrgb(72, 69, 223)
HSLhsl(241, 71%, 57%)
HSVhsv(241, 69%, 87%)
CMYKcmyk(67.7%, 69.1%, 0%, 12.5%)
CIE-LABlab(39.51, 48.46, -77.69)
CIE-LCHlch(39.51, 91.56, 301.96°)
OKLaboklab(49.9% 0.021 -0.2244)
OKLCHoklch(49.9% 0.225 275.3)
XYZxyz(18.1155, 10.9600, 70.9585)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845DF #DCDF45
analogous
#458FDF #4845DF #9545DF
triadic
#4845DF #DF4845 #45DF48
tetradic
#4845DF #DF458F #DCDF45 #45DF95
square
#4845DF #DF458F #DCDF45 #45DF95
split-complementary
#4845DF #DF9545 #8FDF45
monochromatic
#1B1991 #2522C5 #4845DF #7B79E8 #AFADF1

Accessibility & contrast

On white

6.58
#4845DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4845DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4845DF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845DF#FFFFFF#000000##FFFFFF
##4845DF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E4
Deuteranopia (green-blind)
#0056DC
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4845df;
/* rgb */ color: rgb(72, 69, 223);
/* oklch */ color: oklch(49.9% 0.225 275.3);
Tailwind
colors: {
  custom: {
    50: '#8e7aea',
    500: '#4845df',
    950: '#000000',
  },
}
SCSS
$custom: #4845df;
$custom-light: #8e7aea;
$custom-dark: #000000;
JSON
{
  "hex": "#4845df",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 241.169,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.49895,
    "c": 0.22543,
    "h": 275.3
  },
  "luminance": 0.10962
}

Semantic roles & 50–950 ramp

primary
#4845DF
secondary
#DEDFA1
accent
#ED3AEA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4845DF

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

Preview Lab → · Contrast checker → · Palette generator →

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