#4D4DCF#4D4DCF

#4D4DCF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.1% C 0.195 H 276.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4D4DCF
RGBrgb(77, 77, 207)
HSLhsl(240, 58%, 56%)
HSVhsv(240, 63%, 81%)
CMYKcmyk(62.8%, 62.8%, 0%, 18.8%)
CIE-LABlab(40.23, 39.20, -67.32)
CIE-LCHlch(40.23, 77.90, 300.21°)
OKLaboklab(50.08% 0.0228 -0.1939)
OKLCHoklch(50.08% 0.195 276.7)
XYZxyz(16.9733, 11.3892, 60.3233)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DCF #CFCF4D
analogous
#4D8ECF #4D4DCF #8E4DCF
triadic
#4D4DCF #CF4D4D #4DCF4D
tetradic
#4D4DCF #CF4D8E #CFCF4D #4DCF8E
square
#4D4DCF #CF4D8E #CFCF4D #4DCF8E
split-complementary
#4D4DCF #CF8E4D #8ECF4D
monochromatic
#22227F #2F2FAF #4D4DCF #7D7DDC #ADADE9

Accessibility & contrast

On white

6.41
#4D4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D4DCF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DCF#FFFFFF#000000##FFFFFF
##4D4DCF1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#006E87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d4dcf;
/* rgb */ color: rgb(77, 77, 207);
/* oklch */ color: oklch(50.1% 0.195 276.7);
Tailwind
colors: {
  custom: {
    50: '#8d7fdf',
    500: '#4d4dcf',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dcf;
$custom-light: #8d7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dcf",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 240,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5008,
    "c": 0.19527,
    "h": 276.7
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#4D4DCF
secondary
#D7D7A1
accent
#E147E1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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