#4D5296#4D5296

#4D5296 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.8% C 0.109 H 278.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4D5296
RGBrgb(77, 82, 150)
HSLhsl(236, 32%, 45%)
HSVhsv(236, 49%, 59%)
CMYKcmyk(48.7%, 45.3%, 0%, 41.2%)
CIE-LABlab(37.51, 17.25, -38.08)
CIE-LCHlch(37.51, 41.81, 294.37°)
OKLaboklab(46.79% 0.0154 -0.108)
OKLCHoklch(46.79% 0.109 278.1)
XYZxyz(11.5812, 9.8138, 30.1323)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5296 #96914D
analogous
#4D7796 #4D5296 #6C4D96
triadic
#4D5296 #964D52 #52964D
tetradic
#4D5296 #964D77 #96914D #4D966C
square
#4D5296 #964D77 #96914D #4D966C
split-complementary
#4D5296 #966C4D #77964D
monochromatic
#232645 #383C6E #4D5296 #6C71B4 #9598C9

Accessibility & contrast

On white

7.09
#4D5296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4D5296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5296
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5296#FFFFFF#000000##FFFFFF
##4D52961.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B99
Deuteranopia (green-blind)
#315694
Tritanopia (blue-blind)
#32606C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d5296;
/* rgb */ color: rgb(77, 82, 150);
/* oklch */ color: oklch(46.8% 0.109 278.1);
Tailwind
colors: {
  custom: {
    50: '#8382b5',
    500: '#4d5296',
    950: '#000000',
  },
}
SCSS
$custom: #4d5296;
$custom-light: #8382b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5296",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 235.89,
    "s": 32.159,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46787,
    "c": 0.10905,
    "h": 278.1
  },
  "luminance": 0.09814
}

Semantic roles & 50–950 ramp

primary
#4D5296
secondary
#B5B28A
accent
#C15FC8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4D5296

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

Preview Lab → · Contrast checker → · Palette generator →

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