#4D47CF#4D47CF

#4D47CF is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.1% C 0.202 H 277.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4D47CF
RGBrgb(77, 71, 207)
HSLhsl(243, 59%, 55%)
HSVhsv(243, 66%, 81%)
CMYKcmyk(62.8%, 65.7%, 0%, 18.8%)
CIE-LABlab(38.88, 42.79, -69.52)
CIE-LCHlch(38.88, 81.64, 301.61°)
OKLaboklab(49.1% 0.0276 -0.2004)
OKLCHoklch(49.1% 0.202 277.9)
XYZxyz(16.5727, 10.5879, 60.1897)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47CF #C9CF47
analogous
#4785CF #4D47CF #9147CF
triadic
#4D47CF #CF4D47 #47CF4D
tetradic
#4D47CF #CF4785 #C9CF47 #47CF91
square
#4D47CF #CF4785 #C9CF47 #47CF91
split-complementary
#4D47CF #CF9147 #85CF47
monochromatic
#24207B #322DAC #4D47CF #7C78DC #ABA8E8

Accessibility & contrast

On white

6.74
#4D47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4D47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47CF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47CF#FFFFFF#000000##FFFFFF
##4D47CF1.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)
#0061D3
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d47cf;
/* rgb */ color: rgb(77, 71, 207);
/* oklch */ color: oklch(49.1% 0.202 277.9);
Tailwind
colors: {
  custom: {
    50: '#8d7bdf',
    500: '#4d47cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d47cf;
$custom-light: #8d7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47cf",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 242.647,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49096,
    "c": 0.20233,
    "h": 277.9
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#4D47CF
secondary
#D3D69C
accent
#E246DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4D47CF

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

Preview Lab → · Contrast checker → · Palette generator →

#4D47CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva