#4945E1#4945E1

#4945E1 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.1% C 0.228 H 275.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#4945E1
RGBrgb(73, 69, 225)
HSLhsl(242, 72%, 58%)
HSVhsv(242, 69%, 88%)
CMYKcmyk(67.6%, 69.3%, 0%, 11.8%)
CIE-LABlab(39.76, 49.22, -78.42)
CIE-LCHlch(39.76, 92.58, 302.11°)
OKLaboklab(50.15% 0.0219 -0.2266)
OKLCHoklch(50.15% 0.228 275.5)
XYZxyz(18.4619, 11.1073, 72.3905)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4945E1 #DDE145
analogous
#458FE1 #4945E1 #9745E1
triadic
#4945E1 #E14945 #45E149
tetradic
#4945E1 #E1458F #DDE145 #45E197
square
#4945E1 #E1458F #DDE145 #45E197
split-complementary
#4945E1 #E19745 #8FE145
monochromatic
#1B1894 #2520C8 #4945E1 #7D7AE9 #B0AEF2

Accessibility & contrast

On white

6.52
#4945E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4945E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4945E1
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4945E1#FFFFFF#000000##FFFFFF
##4945E11.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E6
Deuteranopia (green-blind)
#0057DE
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4945e1;
/* rgb */ color: rgb(73, 69, 225);
/* oklch */ color: oklch(50.1% 0.228 275.5);
Tailwind
colors: {
  custom: {
    50: '#8f7aec',
    500: '#4945e1',
    950: '#000000',
  },
}
SCSS
$custom: #4945e1;
$custom-light: #8f7aec;
$custom-dark: #000000;
JSON
{
  "hex": "#4945e1",
  "rgb": {
    "r": 73,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 241.538,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.50146,
    "c": 0.22761,
    "h": 275.5
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#4945E1
secondary
#DFE0A2
accent
#EF39EA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4945E1

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

Preview Lab → · Contrast checker → · Palette generator →

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