#4945DF#4945DF

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

Color values

HEX#4945DF
RGBrgb(73, 69, 223)
HSLhsl(242, 71%, 57%)
HSVhsv(242, 69%, 87%)
CMYKcmyk(67.3%, 69.1%, 0%, 12.5%)
CIE-LABlab(39.58, 48.58, -77.58)
CIE-LCHlch(39.58, 91.53, 302.06°)
OKLaboklab(49.96% 0.0222 -0.2241)
OKLCHoklch(49.96% 0.225 275.6)
XYZxyz(18.1907, 10.9988, 70.9621)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4945DF #DBDF45
analogous
#458EDF #4945DF #9645DF
triadic
#4945DF #DF4945 #45DF49
tetradic
#4945DF #DF458E #DBDF45 #45DF96
square
#4945DF #DF458E #DBDF45 #45DF96
split-complementary
#4945DF #DF9645 #8EDF45
monochromatic
#1C1991 #2622C5 #4945DF #7C79E8 #AFADF1

Accessibility & contrast

On white

6.56
#4945DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4945DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4945DF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4945DF#FFFFFF#000000##FFFFFF
##4945DF1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.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: #4945df;
/* rgb */ color: rgb(73, 69, 223);
/* oklch */ color: oklch(50.0% 0.225 275.6);
Tailwind
colors: {
  custom: {
    50: '#8f7aea',
    500: '#4945df',
    950: '#000000',
  },
}
SCSS
$custom: #4945df;
$custom-light: #8f7aea;
$custom-dark: #000000;
JSON
{
  "hex": "#4945df",
  "rgb": {
    "r": 73,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 241.558,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.4996,
    "c": 0.22519,
    "h": 275.6
  },
  "luminance": 0.11
}

Semantic roles & 50–950 ramp

primary
#4945DF
secondary
#DDDFA1
accent
#ED3AE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4945DF

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

Preview Lab → · Contrast checker → · Palette generator →

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