#4945D7#4945D7

#4945D7 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.2% C 0.215 H 276.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4945D7
RGBrgb(73, 69, 215)
HSLhsl(242, 65%, 56%)
HSVhsv(242, 68%, 84%)
CMYKcmyk(66%, 67.9%, 0%, 15.7%)
CIE-LABlab(38.86, 46.01, -74.17)
CIE-LCHlch(38.86, 87.28, 301.81°)
OKLaboklab(49.22% 0.0233 -0.2142)
OKLCHoklch(49.22% 0.215 276.2)
XYZxyz(17.1375, 10.5775, 65.4153)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4945D7 #D3D745
analogous
#458AD7 #4945D7 #9245D7
triadic
#4945D7 #D74945 #45D749
tetradic
#4945D7 #D7458A #D3D745 #45D792
square
#4945D7 #D7458A #D3D745 #45D792
split-complementary
#4945D7 #D79245 #8AD745
monochromatic
#1F1D85 #2B27B7 #4945D7 #7A77E2 #ACAAED

Accessibility & contrast

On white

6.74
#4945D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4945D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4945D7
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4945D7#FFFFFF#000000##FFFFFF
##4945D71.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DB
Deuteranopia (green-blind)
#0055D4
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4945d7;
/* rgb */ color: rgb(73, 69, 215);
/* oklch */ color: oklch(49.2% 0.215 276.2);
Tailwind
colors: {
  custom: {
    50: '#8d7ae5',
    500: '#4945d7',
    950: '#000000',
  },
}
SCSS
$custom: #4945d7;
$custom-light: #8d7ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4945d7",
  "rgb": {
    "r": 73,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 241.644,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49223,
    "c": 0.21542,
    "h": 276.2
  },
  "luminance": 0.10579
}

Semantic roles & 50–950 ramp

primary
#4945D7
secondary
#D9DA9E
accent
#E840E3
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4945D7

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

Preview Lab → · Contrast checker → · Palette generator →

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