#4D4FA1#4D4FA1

#4D4FA1 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.130 H 279.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4D4FA1
RGBrgb(77, 79, 161)
HSLhsl(239, 35%, 47%)
HSVhsv(239, 52%, 63%)
CMYKcmyk(52.2%, 50.9%, 0%, 36.9%)
CIE-LABlab(37.38, 22.75, -44.90)
CIE-LCHlch(37.38, 50.34, 296.87°)
OKLaboklab(46.91% 0.0205 -0.128)
OKLCHoklch(46.91% 0.13 279.1)
XYZxyz(12.2876, 9.7422, 34.9443)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FA1 #A19F4D
analogous
#4D79A1 #4D4FA1 #754DA1
triadic
#4D4FA1 #A14D4F #4FA14D
tetradic
#4D4FA1 #A14D79 #A19F4D #4DA175
square
#4D4FA1 #A14D79 #A19F4D #4DA175
split-complementary
#4D4FA1 #A1754D #79A14D
monochromatic
#25264E #393B78 #4D4FA1 #7072BB #9A9BCF

Accessibility & contrast

On white

7.12
#4D4FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4D4FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4FA1
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FA1#FFFFFF#000000##FFFFFF
##4D4FA11.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275BA4
Deuteranopia (green-blind)
#1E559F
Tritanopia (blue-blind)
#2A6170
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d4fa1;
/* rgb */ color: rgb(77, 79, 161);
/* oklch */ color: oklch(46.9% 0.130 279.1);
Tailwind
colors: {
  custom: {
    50: '#8580bd',
    500: '#4d4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fa1;
$custom-light: #8580bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fa1",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 238.571,
    "s": 35.294,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46907,
    "c": 0.12964,
    "h": 279.1
  },
  "luminance": 0.09743
}

Semantic roles & 50–950 ramp

primary
#4D4FA1
secondary
#BBBA8F
accent
#C95CCB
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4D4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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