#4945C8#4945C8

#4945C8 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.9% C 0.197 H 277.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4945C8
RGBrgb(73, 69, 200)
HSLhsl(242, 54%, 53%)
HSVhsv(242, 66%, 78%)
CMYKcmyk(63.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(37.56, 41.13, -67.64)
CIE-LCHlch(37.56, 79.16, 301.30°)
OKLaboklab(47.88% 0.025 -0.195)
OKLCHoklch(47.88% 0.197 277.3)
XYZxyz(15.2977, 9.8416, 55.7258)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4945C8 #C4C845
analogous
#4582C8 #4945C8 #8A45C8
triadic
#4945C8 #C84945 #45C849
tetradic
#4945C8 #C84582 #C4C845 #45C88A
square
#4945C8 #C84582 #C4C845 #45C88A
split-complementary
#4945C8 #C88A45 #82C845
monochromatic
#242171 #332FA0 #4945C8 #7774D6 #A5A3E4

Accessibility & contrast

On white

7.07
#4945C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4945C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4945C8
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4945C8#FFFFFF#000000##FFFFFF
##4945C81.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0053C5
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4945c8;
/* rgb */ color: rgb(73, 69, 200);
/* oklch */ color: oklch(47.9% 0.197 277.3);
Tailwind
colors: {
  custom: {
    50: '#8a79da',
    500: '#4945c8',
    950: '#000000',
  },
}
SCSS
$custom: #4945c8;
$custom-light: #8a79da;
$custom-dark: #000000;
JSON
{
  "hex": "#4945c8",
  "rgb": {
    "r": 73,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 241.832,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47881,
    "c": 0.19662,
    "h": 277.3
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#4945C8
secondary
#CFD198
accent
#DE4AD9
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4945C8

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

Preview Lab → · Contrast checker → · Palette generator →

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