#4D47DF#4D47DF

#4D47DF is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.5% C 0.222 H 276.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4D47DF
RGBrgb(77, 71, 223)
HSLhsl(242, 70%, 58%)
HSVhsv(242, 68%, 87%)
CMYKcmyk(65.5%, 68.2%, 0%, 12.5%)
CIE-LABlab(40.26, 47.92, -76.44)
CIE-LCHlch(40.26, 90.22, 302.08°)
OKLaboklab(50.52% 0.0257 -0.2207)
OKLCHoklch(50.52% 0.222 276.6)
XYZxyz(18.6287, 11.4104, 71.0184)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47DF #D9DF47
analogous
#478DDF #4D47DF #9947DF
triadic
#4D47DF #DF4D47 #47DF4D
tetradic
#4D47DF #DF478D #D9DF47 #47DF99
square
#4D47DF #DF478D #D9DF47 #47DF99
split-complementary
#4D47DF #DF9947 #8DDF47
monochromatic
#1E1992 #2922C6 #4D47DF #7F7BE8 #B2AFF1

Accessibility & contrast

On white

6.40
#4D47DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4D47DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47DF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47DF#FFFFFF#000000##FFFFFF
##4D47DF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E4
Deuteranopia (green-blind)
#0058DC
Tritanopia (blue-blind)
#00708D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d47df;
/* rgb */ color: rgb(77, 71, 223);
/* oklch */ color: oklch(50.5% 0.222 276.6);
Tailwind
colors: {
  custom: {
    50: '#907bea',
    500: '#4d47df',
    950: '#000000',
  },
}
SCSS
$custom: #4d47df;
$custom-light: #907bea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47df",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 242.368,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.50522,
    "c": 0.22217,
    "h": 276.6
  },
  "luminance": 0.11412
}

Semantic roles & 50–950 ramp

primary
#4D47DF
secondary
#DDDFA2
accent
#ED3BE6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D47DF

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

Preview Lab → · Contrast checker → · Palette generator →

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