#4945CB#4945CB

#4945CB is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.1% C 0.200 H 277.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4945CB
RGBrgb(73, 69, 203)
HSLhsl(242, 56%, 53%)
HSVhsv(242, 66%, 80%)
CMYKcmyk(64%, 66%, 0%, 20.4%)
CIE-LABlab(37.81, 42.11, -68.96)
CIE-LCHlch(37.81, 80.80, 301.41°)
OKLaboklab(48.15% 0.0247 -0.1989)
OKLCHoklch(48.15% 0.2 277.1)
XYZxyz(15.6518, 9.9832, 57.5905)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4945CB #C7CB45
analogous
#4584CB #4945CB #8C45CB
triadic
#4945CB #CB4945 #45CB49
tetradic
#4945CB #CB4584 #C7CB45 #45CB8C
square
#4945CB #CB4584 #C7CB45 #45CB8C
split-complementary
#4945CB #CB8C45 #84CB45
monochromatic
#232175 #322EA5 #4945CB #7875D8 #A7A5E6

Accessibility & contrast

On white

7.01
#4945CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4945CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4945CB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4945CB#FFFFFF#000000##FFFFFF
##4945CB1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4945cb;
/* rgb */ color: rgb(73, 69, 203);
/* oklch */ color: oklch(48.1% 0.200 277.1);
Tailwind
colors: {
  custom: {
    50: '#8b79dc',
    500: '#4945cb',
    950: '#000000',
  },
}
SCSS
$custom: #4945cb;
$custom-light: #8b79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4945cb",
  "rgb": {
    "r": 73,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 241.791,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48145,
    "c": 0.20043,
    "h": 277.1
  },
  "luminance": 0.09985
}

Semantic roles & 50–950 ramp

primary
#4945CB
secondary
#D1D399
accent
#E048DB
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4945CB

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

Preview Lab → · Contrast checker → · Palette generator →

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