#4D4FCB#4D4FCB

#4D4FCB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.188 H 276.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4D4FCB
RGBrgb(77, 79, 203)
HSLhsl(239, 55%, 55%)
HSVhsv(239, 62%, 80%)
CMYKcmyk(62.1%, 61.1%, 0%, 20.4%)
CIE-LABlab(40.38, 36.66, -64.76)
CIE-LCHlch(40.38, 74.42, 299.51°)
OKLaboklab(50.09% 0.0213 -0.1864)
OKLCHoklch(50.09% 0.188 276.5)
XYZxyz(16.6325, 11.4802, 57.8277)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FCB #CBC94D
analogous
#4D8ECB #4D4FCB #8A4DCB
triadic
#4D4FCB #CB4D4F #4FCB4D
tetradic
#4D4FCB #CB4D8E #CBC94D #4DCB8A
square
#4D4FCB #CB4D8E #CBC94D #4DCB8A
split-complementary
#4D4FCB #CB8A4D #8ECB4D
monochromatic
#24257A #3133A9 #4D4FCB #7C7ED9 #ACADE7

Accessibility & contrast

On white

6.37
#4D4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4D4FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FCB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FCB#FFFFFF#000000##FFFFFF
##4D4FCB1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d4fcb;
/* rgb */ color: rgb(77, 79, 203);
/* oklch */ color: oklch(50.1% 0.188 276.5);
Tailwind
colors: {
  custom: {
    50: '#8c80dc',
    500: '#4d4fcb',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fcb;
$custom-light: #8c80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fcb",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 239.048,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50091,
    "c": 0.18763,
    "h": 276.5
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#4D4FCB
secondary
#D4D49F
accent
#DC4ADE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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