#4D4FA0#4D4FA0

#4D4FA0 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.128 H 279.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4D4FA0
RGBrgb(77, 79, 160)
HSLhsl(239, 35%, 46%)
HSVhsv(239, 52%, 63%)
CMYKcmyk(51.9%, 50.6%, 0%, 37.3%)
CIE-LABlab(37.31, 22.43, -44.41)
CIE-LCHlch(37.31, 49.75, 296.79°)
OKLaboklab(46.84% 0.0204 -0.1265)
OKLCHoklch(46.84% 0.128 279.2)
XYZxyz(12.1997, 9.7071, 34.4817)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FA0 #A09E4D
analogous
#4D79A0 #4D4FA0 #754DA0
triadic
#4D4FA0 #A04D4F #4FA04D
tetradic
#4D4FA0 #A04D79 #A09E4D #4DA075
square
#4D4FA0 #A04D79 #A09E4D #4DA075
split-complementary
#4D4FA0 #A0754D #79A04D
monochromatic
#25264D #393B77 #4D4FA0 #7072BA #999BCE

Accessibility & contrast

On white

7.14
#4D4FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4D4FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4FA0
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FA0#FFFFFF#000000##FFFFFF
##4D4FA01.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285BA3
Deuteranopia (green-blind)
#20559E
Tritanopia (blue-blind)
#2B6170
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d4fa0;
/* rgb */ color: rgb(77, 79, 160);
/* oklch */ color: oklch(46.8% 0.128 279.2);
Tailwind
colors: {
  custom: {
    50: '#8580bd',
    500: '#4d4fa0',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fa0;
$custom-light: #8580bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fa0",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 238.554,
    "s": 35.021,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.12818,
    "h": 279.2
  },
  "luminance": 0.09708
}

Semantic roles & 50–950 ramp

primary
#4D4FA0
secondary
#BBBA8E
accent
#C85DCB
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4D4FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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